forked from osquery/osquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosx-attacks.conf
618 lines (618 loc) · 30 KB
/
osx-attacks.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
{
"platform": "darwin",
"queries": {
"WireLurker": {
"query" : "select * from launchd where \
name = 'com.apple.machook_damon.plist' OR \
name = 'com.apple.globalupdate.plist' OR \
name = 'com.apple.appstore.plughelper.plist' OR \
name = 'com.apple.MailServiceAgentHelper.plist' OR \
name = 'com.apple.systemkeychain-helper.plist' OR \
name = 'com.apple.periodic-dd-mm-yy.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://github.com/PaloAltoNetworks-BD/WireLurkerDetector)",
"value" : "Artifact used by this malware"
},
"Leverage-A_1": {
"query" : "select * from launchd where path like '%UserEvent.System.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.intego.com/mac-security-blog/new-mac-trojan-discovered-related-to-syria/)",
"value" : "Artifact used by this malware"
},
"Leverage-A_2": {
"query" : "select * from file where path = '/Users/Shared/UserEvent.app';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.intego.com/mac-security-blog/new-mac-trojan-discovered-related-to-syria/)",
"value" : "Artifact used by this malware"
},
"Leverage-A_3": {
"query" : "select * from launchd where name = 'com.GetFlashPlayer.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.volexity.com/blog/2017/07/24/real-news-fake-flash-mac-os-x-users-targeted/)",
"value" : "Artifact used by this malware"
},
"Tibet.D": {
"query" : "select * from launchd where path like '%com.apple.AudioService.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.intego.com/mac-security-blog/os-x-malware-tibet-variant-found/)",
"value" : "Artifact used by this malware"
},
"DevilRobber": {
"query" : "select * from launchd where name = 'com.apple.legion.plist' or name = 'com.apple.pixel.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_devilrobber_a.shtml)",
"value" : "Artifact used by this malware"
},
"XSLCmd": {
"query" : "select * from launchd where name = 'com.apple.service.clipboardd.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.fireeye.com/blog/threat-research/2014/09/forced-to-adapt-xslcmd-backdoor-now-on-os-x.html)",
"value" : "Artifact used by this malware"
},
"Olyx": {
"query" : "select * from launchd where name = 'com.apple.DockActions.plist' or name like '%www. google.com.tstart.plist%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_olyx_c.shtml)",
"value" : "Artifact used by this malware"
},
"Imuler": {
"query" : "select * from launchd where name = 'checkflr.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_imuler_a.shtml)",
"value" : "Artifact used by this malware"
},
"iWorkServ": {
"query" : "select * from startup_items where path like '%iWorkServices%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_iworkserv_a.shtml)",
"value" : "Artifact used by this malware"
},
"Morcut": {
"query" : "select * from launchd where name = 'com.apple.mdworker.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_morcut.a)",
"value" : "Artifact used by this malware"
},
"BlazingKeylogger": {
"query" : "select * from launchd where name = 'com.BT.BPK.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.blazingtools.com/mac_keylogger.html)",
"value" : "Artifact used by this malware"
},
"Icefog": {
"query" : "select * from launchd where name = 'apple.launchd.plist' or name = 'com.apple.launchport.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://securelist.com/blog/research/57331/the-icefog-apt-a-tale-of-cloak-and-three-daggers/)",
"value" : "Artifact used by this malware"
},
"Careto": {
"query" : "select * from launchd where path like '%com.apple.launchport.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://blog.kaspersky.com/the-mask-unveiling-the-worlds-most-sophisticated-apt-campaign/)",
"value" : "Artifact used by this malware"
},
"Inqtana": {
"query" : "select * from launchd where name = 'com.pwned.plist' or name = 'com.openbundle.plist' or name = 'com.adobe.reader.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/inqtana_a.shtml)",
"value" : "Artifact used by this malware"
},
"MacKontrol": {
"query" : "select * from launchd where name = 'com.apple.FolderActionsxl.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_mackontrol_a.shtml)",
"value" : "Artifact used by this malware"
},
"PubSab": {
"query" : "select * from launchd where name = 'com.apple.PubSabAgent.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/v-descs/backdoor_osx_sabpab_a.shtml)",
"value" : "Artifact used by this malware"
},
"Dockster": {
"query" : "select * from launchd where name = 'mac.Dockset.deman.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_dockster.a)",
"value" : "Artifact used by this malware"
},
"CallMe": {
"query" : "select * from launchd where name = 'realPlayerUpdate.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.f-secure.com/weblog/archives/00002546.html)",
"value" : "Artifact used by this malware"
},
"Whitesmoke": {
"query" : "select * from launchd where name = 'com.whitesmoke.uploader.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/osxfkcodec-a-in-action/ )",
"value" : "Artifact used by this malware"
},
"Codecm": {
"query" : "select * from launchd where name = 'com.codecm.uploader.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/osxfkcodec-a-in-action/)",
"value" : "Artifact used by this malware"
},
"iWorm": {
"query" : "select * from launchd where name = 'com.JavaW.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.virusbtn.com/virusbulletin/archive/2014/10/vb201410-iWorm)",
"value" : "Artifact used by this malware"
},
"iWorm_1": {
"query" : "select * from file where path like '/Library/Application Support/JavaW%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(https://www.virusbtn.com/virusbulletin/archive/2014/10/vb201410-iWorm)",
"value" : "Artifact used by this malware"
},
"SniperSpy": {
"query" : "select * from launchd where name = 'com.rxs.syslogagent.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.symantec.com/security_response/writeup.jsp?docid=2010-081606-4034-99&tabid=2)",
"value" : "Artifact used by this malware"
},
"Vsearch": {
"query" : "select * from launchd where \
name = 'com.vsearch.agent.plist' OR \
name = 'com.vsearch.daemon.plist' OR \
name = 'com.vsearch.helper.plist' OR \
name = 'Jack.plist' OR \
program_arguments = '/etc/run_upd.sh' OR \
program_arguments LIKE '/Library/Application Support/%/Agent/agent.app/Contents/MacOS/agent%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/arg-downlite/)",
"value" : "Artifact used by this malware"
},
"Buca": {
"query" : "select * from launchd where name = 'com.webhelper.plist' or name = 'com.webtools.update.agent.plist' or name = 'com.webtools.uninstaller.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/arg-buca-apps/)",
"value" : "Artifact used by this malware"
},
"Conduit": {
"query" : "select * from launchd where path like '%com.conduit.loader.agent.plist' or name = 'com.conduit.loader.agent.plist' or path like '%com.perion.searchprotectd.plist' or name = 'com.perion.searchprotectd.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/arg-conduit/)",
"value" : "Artifact used by this malware"
},
"Genieo": {
"query" : "select * from launchd where \
name = 'com.genieo.completer.download.plist' OR \
name = 'com.genieo.completer.update.plist' OR \
name = 'com.genieo.completer.ltvbit.plist' OR \
name = 'com.installer.completer.download.plist' OR \
name = 'com.installer.completer.update.plist' OR \
name = 'com.installer.completer.ltvbit.plist' OR \
name = 'com.genieoinnovation.macextension.plist' OR \
name = 'com.genieoinnovation.macextension.client.plist' OR \
name = 'com.genieo.engine.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "(http://www.thesafemac.com/arg-genieo/)",
"value" : "Artifact used by this malware"
},
"GenieoPart2": {
"query" : "select * from launchd where program_arguments like '/Users/%/Library/Application Support/%/%.app/Contents/MacOS/App% -trigger download -isDev % -installVersion % -firstAppId % -identity %';",
"interval" : "3600",
"version": "1.4.5",
"description" : "New version of Genieo",
"value" : "Artifact used by this malware"
},
"HackingTeam_Mac_RAT1": {
"query" : "select * from file where path = '/dev/ptmx0';",
"interval" : "3600",
"version": "1.4.5",
"description" : "Detect RAT used by Hacking Team",
"value" : "Artifact used by this malware"
},
"HackingTeam_Mac_RAT2": {
"query" : "select * from apps where bundle_identifier = 'com.ht.RCSMac';",
"interval" : "3600",
"version": "1.4.5",
"description" : "Detect RAT used by Hacking Team",
"value" : "Artifact used by this malware"
},
"HackingTeam_Mac_RAT3": {
"query" : "select * from launchd where \
label = 'com.ht.RCSMac' OR \
name = 'com.apple.loginStoreagent.plist' OR \
name = 'com.apple.mdworker.plist' OR \
name = 'com.apple.UIServerLogin.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "Detect RAT used by Hacking Team",
"value" : "Artifact used by this malware"
},
"HackingTeam_Mac_Persistence": {
"query": "select * from file where directory like '/Users/%/Library/Preferences/8pHbqThW%';",
"interval": "3600",
"version": "1.4.5",
"description": "Detection persistency by Hacking Team",
"value": "Artifact used by Hacking Team"
},
"xprotect_reports": {
"query": "select * from xprotect_reports;",
"interval": 1200,
"removed": false,
"version": "1.4.5",
"description": "Report on Apple/OS X XProtect 'report' generation. Reports are generated when OS X matches an item in xprotect_entries.",
"value": "Although XProtect reports are rare, they may be worth collecting and aggregating internally."
},
"Keranger_1": {
"query": "select * from processes where name = 'kernel_service';",
"interval": "3600",
"version": "1.4.5",
"description": "http://researchcenter.paloaltonetworks.com/2016/03/new-os-x-ransomware-keranger-infected-transmission-bittorrent-client-installer/",
"value": "Artifact used by this malware"
},
"Keranger_2": {
"query": "select * from file where \
path LIKE '/Users/%/Library/.kernel_%' OR \
path LIKE '/Users/%/Library/kernel_service';",
"interval": "3600",
"version": "1.4.5",
"description": "http://researchcenter.paloaltonetworks.com/2016/03/new-os-x-ransomware-keranger-infected-transmission-bittorrent-client-installer/",
"value": "Artifact used by this malware"
},
"PremierOpinion": {
"query": "select * from launchd where name = 'PremierOpinion.plist' or name = 'PremierOpinionAgent.plist';",
"interval": "3600",
"version": "1.4.5",
"description": "(http://www.thesafemac.com/arg-premier-opinion/)",
"value": "Artifact used by this malware"
},
"Bundlore": {
"query": "select * from launchd where name like 'com.WebShoppy.%.plist' or name like 'com.SoftwareUpdater.%.plist' or name like 'cinema-plus%.plist' or name like 'com.WebTools.%.plist' or name like 'com.crossrider.%.plist' or name like 'shopy-mate_%.plist' or name like 'com.WebShopper.%.plist';",
"interval": "3600",
"version": "1.4.5",
"description": "(http://www.thesafemac.com/arg-bundlore/)",
"value": "Artifact used by this malware"
},
"Spigot": {
"query": "select * from launchd where name like 'com.spigot.%.plist';",
"interval": "3600",
"version": "1.4.5",
"description": "(http://www.thesafemac.com/arg-spigot/)",
"value": "Artifact used by this malware"
},
"SearchInstUpdater": {
"query": "select * from launchd where name like 'com.updater.mc%.plist' or name like 'com.updater.watch.mc%.plist';",
"interval": "3600",
"version": "1.4.5",
"description": "(https://www.virustotal.com/en/file/9530d481f7bb07aac98a46357bfcff96e2936a90571b4629ae865a2ce63e5c8e/analysis/)",
"value": "Artifact used by this malware"
},
"OSX_Pirrit": {
"query": "select * from plist where path = '/Library/Preferences/com.common.plist' and key = 'net_pref';",
"interval": "3600",
"version": "1.4.5",
"description": "(https://threatpost.com/mac-adware-osx-pirrit-unleashes-ad-overload-for-now/117273/)",
"value": "Artifact used by this malware"
},
"Backdoor_MAC_Eleanor": {
"query": "SELECT * FROM launchd WHERE name IN ('com.getdropbox.dropbox.integritycheck.plist','com.getdropbox.dropbox.timegrabber.plist','com.getdropbox.dropbox.usercontent.plist');",
"interval": "3600",
"version": "1.4.5",
"description": "(https://blog.malwarebytes.com/cybercrime/2016/07/new-mac-backdoor-malware-eleanor/)",
"value": "Artifact used by this malware"
},
"EliteKeylogger": {
"query": "select * from launchd where name = 'com.apple.fonts.plist' and label = 'unknown';",
"interval": "3600",
"version": "1.4.5",
"description": "(https://www.elitekeyloggers.com/elite-keylogger-mac)",
"value": "Artifact used by this malware"
},
"Aobo_Keylogger": {
"query": "select * from launchd where name like 'com.ab.kl%.plist';",
"interval": "3600",
"version": "1.4.5",
"description": "(http://aobo.cc/aobo-mac-os-x-keylogger.html)",
"value": "Artifact used by this malware"
},
"OSX_Keydnap": {
"query": "select * from launchd where name IN ('com.apple.iCloud.sync.daemon', 'com.geticloud.icloud.photo');",
"interval": "3600",
"version": "1.4.5",
"description": "(http://www.welivesecurity.com/2016/07/06/new-osxkeydnap-malware-hungry-credentials)",
"value": "Artifact used by this malware"
},
"Java_Adwind_Trojan": {
"query": "select * from launchd where name like 'org.%.plist' and program_arguments like '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -Dapple.awt.UIElement=true -jar /Users/%/.%';",
"interval": "3600",
"version": "1.4.5",
"description": "(https://blog.malwarebytes.com/threat-analysis/2016/07/cross-platform-malware-adwind-infects-mac/)",
"value": "Artifact used by this malware"
},
"OSX_Backdoor_Mokes": {
"query": "select * from file where \
path LIKE '/Users/%/Library/App Store/storeuserd' OR \
path LIKE '/Users/%/Library/com.apple.spotlight/SpotlightHelper' OR \
path LIKE '/Users/%/Library/Dock/com.apple.dock.cache' OR \
path LIKE '/Users/%/Library/Dropbox/DropboxCache' OR \
path LIKE '/Users/%/Library/Skype/SkypeHelper' OR \
path LIKE '/Users/%/Library/Google/Chrome/nacld' OR \
path LIKE '/Users/%/Library/Firefox/Profiles/profiled';",
"interval": "3600",
"version": "1.4.5",
"description": "(https://securelist.com/blog/research/75990/the-missing-piece-sophisticated-os-x-backdoor-discovered/)",
"value": "Artifact used by this malware"
},
"OSX_Komplex": {
"query": "select * from file where path = '/Users/Shared/.local/kext' or path = '/Users/Shared/com.apple.updates.plist' or path = '/Users/Shared/start.sh';",
"interval": "3600",
"version": "1.4.5",
"description": "(http://researchcenter.paloaltonetworks.com/2016/09/unit42-sofacys-komplex-os-x-trojan/)",
"value": "Artifact used by this malware"
},
"OceanLotus_launchagent": {
"query" : "select * from launchd where name = 'com.google.plugins.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OceanLotus Launch Agent (https://www.alienvault.com/blogs/labs-research/oceanlotus-for-os-x-an-application-bundle-pretending-to-be-an-adobe-flash-update)",
"value" : "Artifact used by this malware"
},
"OceanLotus_dropped_file_1": {
"query" : "select * from file, ( \
select '/Library/Logs/.Logs/corevideosd' ioc union \
select '/Library/.SystemPreferences/.prev/.ver.txt' ioc union \
select '/Library/Parallels/.cfg' ioc union \
select '/Library/Preferences/.fDTYuRs' ioc union \
select '/Library/Hash/.Hashtag/.hash' ioc union \
select '/Library/Hash/.hash' ioc \
) iocs where \
file.path LIKE '/Users/%/' || ioc OR \
file.path = iocs.ioc OR \
file.path LIKE '/tmp/crunzip.temp.%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OceanLotus dropped file (https://www.alienvault.com/blogs/labs-research/oceanlotus-for-os-x-an-application-bundle-pretending-to-be-an-adobe-flash-update)",
"value" : "Artifact used by this malware"
},
"XcodeGhost": {
"query" : "select * from ( \
select apps.bundle_short_version as xcode_version, \
apps.path as xcode_path, \
file.path, \
file.type as file_type \
from apps, file \
where apps.bundle_name='Xcode' and \
file.path like (apps.path || '/Contents/Developer/Platforms/%/Developer/SDKs/Library/%%') \
) join hash using (path) where file_type = 'regular';",
"interval" : "3600",
"version": "1.4.5",
"description" : "Xcode Ghost dropped files (http://researchcenter.paloaltonetworks.com/2015/09/novel-malware-xcodeghost-modifies-xcode-infects-apple-ios-apps-and-hits-app-store/)",
"value" : "Artifact used by this malware"
},
"Quimitchin_Backdoor": {
"query" : "select * from launchd where name = 'com.client.client.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "Quimitchin Launch Agent (https://blog.malwarebytes.com/threat-analysis/2017/01/new-mac-backdoor-using-antiquated-code/)",
"value" : "Artifact used by this malware"
},
"Pronto": {
"query" : "select * from launchd where name = 'pronto.notification.plist' or name = 'pronto.update.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "ProntoApp Launch Agents (https://malwarefixes.com/remove-pronto-video-converter/)",
"value" : "Artifact used by this malware"
},
"OSX_DOK_1": {
"query" : "select * from launchd where name = 'com.apple.Safari.proxy.plist' or name = 'com.apple.Safari.proxy.pac';",
"interval" : "3600",
"version": "1.4.5",
"description" : "DOK Launch Agents (http://blog.checkpoint.com/2017/04/27/osx-malware-catching-wants-read-https-traffic/)",
"value" : "Artifact used by this malware"
},
"OSX_DOK_2": {
"query" : "select common_name, sha1, subject_key_id from certificates where subject_key_id = 'e637d656f9f088ddca3b3b55c4fe698d8c97a552';",
"interval" : "3600",
"version": "1.4.5",
"description" : "DOK certificate (http://blog.checkpoint.com/2017/04/27/osx-malware-catching-wants-read-https-traffic/)",
"value" : "Artifact used by this malware"
},
"OSX_DOK_3": {
"query" : "select * from file where path = '/Users/Shared/AppStore.app';",
"interval" : "3600",
"version": "1.4.5",
"description" : "DOK dropped file (http://blog.checkpoint.com/2017/04/27/osx-malware-catching-wants-read-https-traffic/)",
"value" : "Artifact used by this malware"
},
"OSX_DOK_4": {
"query" : "select * from apps where bundle_name = 'Truesteer.AppStore';",
"interval" : "3600",
"version": "1.4.5",
"description" : "DOK malicious app (http://blog.checkpoint.com/2017/04/27/osx-malware-catching-wants-read-https-traffic/)",
"value" : "Artifact used by this malware"
},
"OSX_Snake": {
"query" : "select * from file \
where path = '/Library/LaunchDaemons/com.adobe.update.plist' OR \
path = '/Library/Scripts/installd.sh' OR \
path = '/Library/Scripts/queue' OR \
path = '/tmp/.gdm-socket' OR \
path = '/tmp/.gdm-selinux' OR \
path LIKE '/var/tmp/.ur-%%';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OS X port of Snake malware discovered by Fox-IT (https://blog.fox-it.com/2017/05/03/snake-coming-soon-in-mac-os-x-flavour/)",
"value" : "Artifacts created by this malware"
},
"OSX_Proton_Files": {
"query" : "select * from file \
where path like '/Users/%/Library/RenderFiles/activity_agent.app/' OR \
path like '/Users/%/Library/LaunchAgents/fr.handbrake.activity_agent.plist' OR \
path='/tmp/Updater.app' OR path='/Library/.rand/updateragent.app' OR \
path='/Library/LaunchAgents/com.apple.xpcd.plist' OR \
path='/Library/.cachedir' OR \
path='/Library/.random';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OSX/Proton bundled with a tampered version of Handbrake and Elmedia Player: (https://objective-see.com/blog/blog_0x1D.html and https://www.welivesecurity.com/2017/10/20/osx-proton-supply-chain-attack-elmedia/)",
"value" : "Artifacts created by this malware"
},
"OSX_Proton_Launchd": {
"query" : "select * from launchd where name='com.Eltima.UpdaterAgent.plist' OR name='com.apple.xpcd.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OSX/Proton bundled with a tampered version of Elmedia Player or Fake Symantec Blog: (https://www.welivesecurity.com/2017/10/20/osx-proton-supply-chain-attack-elmedia/) and (https://blog.malwarebytes.com/threat-analysis/mac-threat-analysis/2017/11/osx-proton-spreading-through-fake-symantec-blog/)",
"value" : "Artifacts created by this malware"
},
"OSX_Proton_Process": {
"query" : "select * from processes \
where path like '/Users/%/Library/RenderFiles/activity_agent.app/Contents/MacOS/activity_agent' OR \
path='/Library/.rand/updateragent.app/Contents/MacOS/updateragent' OR \
path='/Library/.random/xpcd.app/Contents/MacOS/xpcd';",
"interval" : "3600",
"version": "1.4.5",
"description" : "OSX/Proton bundled with a tampered version of Handbrake and Elmedia Player: (https://objective-see.com/blog/blog_0x1D.html and https://www.welivesecurity.com/2017/10/20/osx-proton-supply-chain-attack-elmedia/)",
"value" : "Artifacts created by this malware"
},
"EmPyre_Agent": {
"query" : "select * from launchd where name = 'com.proxy.initialize.plist';",
"interval" : "3600",
"version": "1.4.5",
"description" : "EmPyre post exploitation agent (https://github.com/EmpireProject/EmPyre/blob/master/lib/modules/persistence/osx/launchdaemonexecutable.py)",
"value" : "Artifacts created by this malware"
},
"OSX_FruitFly": {
"query" : "select * from launchd where name = 'com.client.client.plist';",
"interval" : "3600",
"version" : "1.4.5",
"description" : "FruitFly OSX Malware (https://blog.malwarebytes.com/threat-analysis/2017/01/new-mac-backdoor-using-antiquated-code/)",
"value" : "Artifacts created by this malware"
},
"OSX_Mughthesec": {
"query" : "select * from launchd where name = 'com.Mughthesec.plist';",
"interval" : "3600",
"version" : "1.4.5",
"description" : "Mughthesec OSX Malware (https://objective-see.com/blog/blog_0x20.html)",
"value" : "Artifacts created by this malware"
},
"OSX_HiddenLotus": {
"query" : "select * from launchd where name = 'com.apple.hidd.shared.plist';",
"interval" : "3600",
"version" : "1.4.5",
"description" : "Apple added XProtect rules for this sample: (https://www.virustotal.com/en/file/f261815905e77eebdb5c4ec06a7acdda7b68644b1f5155049f133be866d8b179/analysis/1509567775/)",
"value" : "Artifacts created by this malware"
},
"OSX_MaMi_DNS_Servers": {
"query" : "select * from dns_resolvers where type = 'nameserver' and address in ('82.163.143.135', '82.163.142.137');",
"interval" : "3600",
"version" : "2.8.0",
"description" : "MaMi OSX Malware 2017-01-12 (https://objective-see.com/blog/blog_0x26.html)",
"value" : "DNS Servers set by this malware"
},
"OSX_MaMi_Certificate": {
"query" : "select * from certificates where common_name like '%cloudguard.me%' and not_valid_after = '2352216315';",
"interval" : "3600",
"version" : "2.8.0",
"description" : "MaMi OSX Malware 2017-01-12 (https://objective-see.com/blog/blog_0x26.html)",
"value" : "bogus certificate added to key store by this malware"
},
"Behavioral_Reverse_Shell": {
"query" : "SELECT DISTINCT(processes.pid), processes.parent, processes.name, processes.path, \
processes.cmdline, processes.cwd, processes.root, processes.uid, processes.gid, \
processes.start_time, process_open_sockets.remote_address, process_open_sockets.remote_port, \
(SELECT cmdline FROM processes AS parent_cmdline WHERE pid=processes.parent) AS parent_cmdline \
FROM processes JOIN process_open_sockets USING (pid) \
LEFT OUTER JOIN process_open_files \
ON processes.pid = process_open_files.pid \
WHERE (name='sh' OR name='bash') \
AND process_open_files.pid IS NULL;",
"interval" : "3600",
"version" : "2.8.0",
"description" : "Find shell processes that have open sockets and no open files or TTY (https://clo.ng/blog/osquery_reverse_shell/)",
"value" : "Behavioral detection for potential reverse shells"
},
"OSX_ColdRoot_RAT_Launchd": {
"query" : "select * from launchd where name = 'com.apple.audio.driver.plist';",
"interval" : "3600",
"version" : "1.4.5",
"description" : "ColdRoot OSX Malware (https://objective-see.com/blog/blog_0x2A.html)",
"value" : "Artifacts created by this malware"
},
"OSX_ColdRoot_RAT_Files": {
"query" : "select * from file \
where path in ('/private/var/tmp/com.apple.audio.driver.app/', \
'/private/var/tmp/com.apple.audio.driver.app/Contents/MacOS/conx.wol');",
"interval" : "3600",
"version" : "1.4.5",
"description" : "ColdRoot OSX Malware (https://objective-see.com/blog/blog_0x2A.html)",
"value" : "Artifacts created by this malware"
},
"MacSearch_Adware": {
"query": "SELECT * FROM launchd WHERE path='/Library/LaunchAgents/tapufind.plist';",
"interval" : "3600",
"version" : "1.4.5",
"description" : "MacSearch OSX Adware (https://www.virustotal.com/latest-scan/15966224C4E25C9787A4A8C984A863E9)",
"value" : "Artifacts created by this adware"
},
"OSX_Dummy_Launchd": {
"query": "SELECT * FROM launchd WHERE name = 'com.startup.plist';",
"interval" : "3600",
"version": "1.4.5",
"description": "OSX Dummy Malware (https://objective-see.com/blog/blog_0x32.html and https://isc.sans.edu/diary/23816)",
"value": "Artifacts created by this malware"
},
"OSX_Dummy_Files": {
"query" : "SELECT * FROM file \
WHERE path = '/Library/LaunchDaemons/com.startup.plist' OR \
path = '/var/root/script.sh' OR \
path = '/Users/Shared/dumpdummy' OR \
path = '/tmp/script.sh' OR \
path = '/tmp/com.startup.plist' OR \
path = '/tmp/dumpdummy';",
"interval" : "3600",
"version": "1.4.5",
"description": "OSX Dummy Malware (https://objective-see.com/blog/blog_0x32.html and https://isc.sans.edu/diary/23816)",
"value": "Artifacts created by this malware"
},
"Keyboard_Event_Taps": {
"query": "SELECT * FROM processes JOIN event_taps ON processes.pid = event_taps.tapping_process where event_taps.enabled = 1;",
"interval" : "3600",
"version": "3.3.0",
"description": "Finds processes that have active keyboard event taps, typically used by RATs and other malicious software for keylogging",
"value": "Process with keyboard event taps"
},
"OSX_SearchAwesome": {
"query" : "SELECT * FROM file \
WHERE path = '/Applications/spi.app' OR \
path = '/Users/%/Library/LaunchAgents/spid-uninstall.plist' OR \
path = '/Users/%/Library/LaunchAgents/spid.plist' OR \
path = '/Users/%/Library/SPI';",
"interval" : "3600",
"version": "1.4.5",
"description": "OSX SearchAwesome Malware (https://blog.malwarebytes.com/threat-analysis/2018/10/mac-malware-intercepts-encrypted-web-traffic-for-ad-injection/)",
"value": "Artifacts created by this malware"
}
}
}