Internet Explorer Version Discovery¶
Metadata¶
Author |
Roberto Rodriguez @Cyb3rWard0g |
Creation Date |
2020/10/21 |
Modification Date |
2020/10/21 |
Tactics |
[‘TA0007’] |
Techniques |
[‘T1518’] |
Tags |
[‘art.68981660-6670-47ee-a5fa-7e74806420a4’] |
Dataset Description¶
This dataset represents threat actors querying HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer to get the version of internet explorer installed on the system.
Datasets Downloads¶
Dataset Type |
Link |
---|---|
Host |
Adversary View¶
reg query "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer" /v svcVersion
Explore Mordor Dataset¶
Initialize Analytics Engine¶
from openhunt.mordorutils import *
spark = get_spark()
Download & Process Mordor File¶
mordor_file = "https://raw.githubusercontent.com/OTRF/mordor/master/datasets/small/windows/discovery/host/cmd_discover_iexplorer_version_registry.zip"
registerMordorSQLTable(spark, mordor_file, "mordorTable")
[+] Processing a Spark DataFrame..
[+] DataFrame Returned !
[+] Temporary SparkSQL View: mordorTable
Get to know your data¶
df = spark.sql(
'''
SELECT Hostname,Channel,EventID, Count(*) as count
FROM mordorTable
GROUP BY Hostname,Channel,EventID
ORDER BY count DESC
'''
)
df.show(truncate=False)
+------------+------------------------------------+-------+-----+
|Hostname |Channel |EventID|count|
+------------+------------------------------------+-------+-----+
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|10 |33 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|7 |10 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|13 |9 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|9 |3 |
|WORKSTATION5|Security |4658 |2 |
|WORKSTATION5|Security |4689 |1 |
|WORKSTATION5|Security |4663 |1 |
|WORKSTATION5|Security |4688 |1 |
|WORKSTATION5|System |104 |1 |
|WORKSTATION5|Security |4690 |1 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|12 |1 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|1 |1 |
|WORKSTATION5|Security |1102 |1 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|11 |1 |
|WORKSTATION5|Security |4656 |1 |
|WORKSTATION5|Microsoft-Windows-Sysmon/Operational|5 |1 |
+------------+------------------------------------+-------+-----+