100 Days Of YARA's Avatar

100 Days Of YARA

@100daysofyara

BSky profile dedicated to 100 Days Of YARA https://github.com/100DaysofYARA

39
Followers
5
Following
11
Posts
18.12.2024
Joined
Posts Following

Latest posts by 100 Days Of YARA @100daysofyara

Post image Post image

Messing with a couple of anomaly rules for #100daysofyara
1. Packer related API strings and no import
Rule: github.com/mgreen27/100...
2. Downloader related API strings and no import
Rule: github.com/mgreen27/100...

30.01.2025 12:00 πŸ‘ 5 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

#100daysofyara hunting inspired from a sample share from VT
1. Microsoft Teams without a MS cert
2. Detect cert metadata
github.com/mgreen27/100...
3. Anomaly detection for PE files with large difference between physical and virtual size of a section
github.com/mgreen27/100...

24.01.2025 12:46 πŸ‘ 8 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

#100DaysofYara Day 23

Socks5Systemz, sample from the bazaar. 32 bit installer for the tool, based on the compilation information, strings for "\silent" and "\verysilent", and mentions of Inno Setup, used to create windows installers.

www.bitsight.com/blog/unveili...

github.com/augustvansic...

23.01.2025 01:39 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image

#100DaysOfYara Day 24

A QakBot spotted in the wild (2025)

Some easy strings for dangerous api calls for encryption and WSA calls for connection functionality, an ip that upon review looks like it’s hosting a C2 (web ports with firewall deny all w/exceptions likely)

github.com/augustvansic...

25.01.2025 02:08 πŸ‘ 5 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

#100DaysofYara Day 14

This sample is a PE32 DLL that is designed for the I386 arch, in C++. I used some more hex strings this time, looks like this is either mimicking a game DLL or pretending to be. Sample was tagged to WannaCry.

github.com/augustvansic...

14.01.2025 21:22 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
yara-x dump

yara-x dump

Post image

#100daysofyara
more yara-x > Dumping a RedCurl malware pe I saw Rich Header and thought I would give it a try.

Rule: github.com/mgreen27/100...

14.01.2025 12:24 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

#100DaysOfYara Day 13

A MacOS Macho binary from MalwareZoo: Backdoor/Worm

Some of the api calls are not core library referenced and could prevent inclusion in the App Store, so I added them as ascii strings.

Also added some dylib strings

github.com/augustvansic...

13.01.2025 19:26 πŸ‘ 5 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
2025_100DaysofYara/Day12_PE32_DLL_DarkTortilla.yar at main Β· augustvansickle/2025_100DaysofYara Contribute to augustvansickle/2025_100DaysofYara development by creating an account on GitHub.

#100DaysOfYara Day 12

Today's sample was a PE32 DLL tagged to DarkTortilla. Strings, strings and more strings made this one easy to make a rule, didn't need to throw it in Binja. A couple rules were based on environmental condition requests, signs of host enumeration.

github.com/augustvansic...

12.01.2025 15:58 πŸ‘ 1 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

#100DaysOfYara Day 11

I got some exposure to Android APK Lua Malware. Interesting file struture and execution flow, I used this resource for some help on understanding the basics and learn about some specialized tools:

par.nsf.gov/servlets/pur...

and

Rule:
github.com/augustvansic...

11.01.2025 20:12 πŸ‘ 1 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image

#100DaysOfYara Day 10

Todays sample was a sample of Storm Kitty Open source Stealer/Keylogger written in C++, logs are sent to a telegram address which you can see in the strings.

malpedia.caad.fkie.fraunhofer.de/details/win....

github.com/augustvansic...

11.01.2025 01:02 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

#100daysofyara sometimes simple rules work really well!
In an IR last week, we discovered and stopped an in progress exfil. This process rule detects the in memory renamed rclone - should be cross platform.

Rule: github.com/mgreen27/100...

10.01.2025 23:05 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

#100daysofyara This rule detects PE files with SUBSYSTEM_WINDOWS_GUI and no Window API function import.

Rule: github.com/mgreen27/100...

15.01.2025 10:46 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image

#100DaysOfYara

Day 15

I had more to say than what allows in a post here so it’s on medium @ : medium.com/@august.vans...

15.01.2025 17:17 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

#100daysofyara MSC files appear to store their icons inside a BinaryStorage field. Todays rule hits on a suspicious PDF icon.

Rule: github.com/mgreen27/100...

16.01.2025 11:22 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

#100DaysOfYara Day 16

Todays Sample: a PE64 EXE tagged to SpyLyRAT

Some unique loads in this directly from github.

And some common API calls that are commonly used for manipulating processes.

github.com/augustvansic...

17.01.2025 01:06 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image

#100DaysOfYara Day 17

Sliver Beacon EXE

Sliver uses MinGW to compile beacons, and it was definitely in strings, so I added that rule. String for sleep - time based evasion, a couple of other hardcoded strings.

I did some dynamic analysis and the domain drops payloads too.

17.01.2025 16:11 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

This #100daysofyara rule looking for a PE with unusual NumberofRVAandSizes attribute
github.com/mgreen27/100...

18.01.2025 11:53 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
2025_100DaysofYara/Day18_PE32_RedLIne.yar at ecabc490af6a452c436659bfc5dc928a22be8bbe Β· augustvansickle/2025_100DaysofYara Contribute to augustvansickle/2025_100DaysofYara development by creating an account on GitHub.

#100DaysOfYara Day 18

Happy Saturday (Go Chiefs)

Today I did a quick rule for a sample of Redline, a 32 bit PE. A lot was obfuscated with this sample, but there were some C## .NET calls to use for rules.

github.com/augustvansic...

18.01.2025 19:03 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
2025_100DaysofYara/Day19_PE64_DLL_LEGIONLOADER.yar at 491bf3357679e801dff43a91ca508904ae7972e8 Β· augustvansickle/2025_100DaysofYara Contribute to augustvansickle/2025_100DaysofYara development by creating an account on GitHub.

#100DaysOfYara Day 19

PE64 DLL with a lot of capability, tagged to legion loader.

github.com/augustvansic...

19.01.2025 17:31 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

Todays #100daysofyara rule looks for a PE file with an unusual debug info type. Yara doesnt directly expose these debug structures so had to search for the RSDS header and find type field by offset.

github.com/mgreen27/100...

21.01.2025 02:04 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image

#100DaysOfYara Day 21

Cobalt Strike Beacon of the EXE flavor

References from Tech Company from China in strings, debugger enum, executable called and a close handle on a variable. Interesting: Icon for binary is apple, compiled for Windows/PE64 and Windows API LIbs

github.com/augustvansic...

22.01.2025 00:23 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image

#100daysofyara todays rule is detecting patched clr.dll in memory AmsiScanBuffer bypass. My @velocidex Windows.System.VAD artifact can be used to target clr.dll mapped sections for an easy detection.

Rule: github.com/mgreen27/100...
VQL: github.com/mgreen27/100...

22.01.2025 03:50 πŸ‘ 6 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0
my first yara rule for 100daysofyara 2025, designed to detect qbit stealer.

my first yara rule for 100daysofyara 2025, designed to detect qbit stealer.

Second qbit rule, designed to detect calling cards from the developer.

Second qbit rule, designed to detect calling cards from the developer.

I finally got around to making my first contribution to #100DaysofYARA 2025 with two YARA rules. My first rule looks to detect Qbit Stealer, a Golang stealer which never really took off. My second rule is designed to hunt various "calling cards" the developer left, which might find related malware.

22.01.2025 04:00 πŸ‘ 3 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0
Post image

#100DaysOfYara Day 22

Today I dug into Binlex. Binlex extracts instructions, basic blocks, and functions from binary files and organizes them into a structured hierarchy. Im still working on learning the rule syntax with blyara to create rules.

github.com/augustvansic...

22.01.2025 20:38 πŸ‘ 6 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - MalBeacon/what-is-this-stealer: A repository of credential stealer formats A repository of credential stealer formats . Contribute to MalBeacon/what-is-this-stealer development by creating an account on GitHub.

Introducing: What is this stealer?

A new repository that allows for you to identify Stealer family by the system information text file format commonly included in stealer malware exfiltration logs. Includes Yara rules!

Check it out and contribute!

github.com/MalBeacon/wh...

13.01.2025 16:11 πŸ‘ 5 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

#100DaysofYARA wanna track DPRK Macho maldevs but don't wanna dump strings or reverse anything?

track their dependency and permission preferences!

github.com/100DaysofYAR...

07.01.2025 00:46 πŸ‘ 9 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

#100DaysofYARA throwback to @0xkyle.bsky.social and I finding a weird payload getting dropped by UNK_SweetSpector - it was like a weird cross-mutation of SugarGh0st and what Unit42 called TunnelSpecter and SweetSpecter. payload uses Incognito framework for token forgery

github.com/100DaysofYAR...

10.01.2025 19:35 πŸ‘ 11 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0
Post image

#100daysofyara todays post is generic and looking at LNK files. Finding samples with specific attributes that may not be parsed (or dumped by yara-x) can be difficult. This rule finds LNK files with the rare in field CodePage language setting.

Rules: github.com/mgreen27/100...

07.01.2025 10:19 πŸ‘ 10 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Preview
100-Days-of-YARA-2025/Day5.yara at main Β· RustyNoob-619/100-Days-of-YARA-2025 100 Days of YARA is a challenge to write a YARA rule every day for 100 days - RustyNoob-619/100-Days-of-YARA-2025

x: @RustyNoob619

#100DaysofYARA Day 5

Added a couple of new YARA rules for TTPs 🐧

First is to detect embedded Windows PE payloads in a file as Base 64 encoding

Second is to spot modification of memory protect flags which is typically used for code injection/unpacking

github.com/RustyNoob-61...

05.01.2025 18:21 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
100daysofyara/2025/SUS_Renamed_QEMU_Jan25.yar at main Β· mgreen27/100daysofyara A scratchpad for 100daysofyara. Contribute to mgreen27/100daysofyara development by creating an account on GitHub.

Rule: github.com/mgreen27/100...

05.01.2025 11:45 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0