C# implementation of the CaddyWiper wiper malware using CISA's breakdown of the associated IOCs.
CaddyWiperCS comes in two states - int armed = 0
(default) and int armed = 1
. This changes the way the malware operates, between a more subdued version of the malware that only wipes one targeted file and the full capability of the CaddyWiper class of malware.
This malware falls under T1485: Data Destruction and operates as follows:
- Grabs a list of the files for all users found in
C:\Users\
. - Attempts to re-write the content of each file as a series of NULL bytes, matching the size of the original file to maintain the same filesize but erase the contents
- Attempt to access attached drives starting with
D:\
- Change
int armed = 0
to1
on line # of Program.cs
- Single file wipe via
armed == 0
- Batch file wipe via
armed == 1
- Attached drive boot record wipe
- Finish README writeup with instructions