James_inthe_box

UAC CMSTPLUA bypass

Jun 25th, 2019
1,518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. rule UAC_CMSTPLUA_bypass_bin
  2. {
  3. meta:
  4. description = "UAC CMSTPLUA bypass"
  5. author = "James_inthe_box"
  6. reference = "https://isc.sans.edu/diary/25068"
  7. date = "2019/06"
  8. maltype = "TTP"
  9.  
  10. strings:
  11. $string1 = "6EDD6D74-C007-4E75-B76A-E5740995E24C" ascii wide
  12. $string2 = "3E5FC7F9-9A51-4367-9063-A120244FBEC7" ascii wide
  13. $string3 = "%systemroot%\\system32\\cmd.exe" ascii wide
  14. $string4 = "Elevation:Administrator!new:" ascii wide
  15.  
  16. condition:
  17. uint16(0) == 0x5A4D and all of ($string*) and filesize < 800KB
  18. }
  19.  
  20. rule UAC_CMSTPLUA_bypass_mem
  21. {
  22. meta:
  23. description = "UAC CMSTPLUA bypass"
  24. author = "James_inthe_box"
  25. reference = "https://isc.sans.edu/diary/25068"
  26. date = "2019/06"
  27. maltype = "TTP"
  28.  
  29. strings:
  30. $string1 = "6EDD6D74-C007-4E75-B76A-E5740995E24C" ascii wide
  31. $string2 = "3E5FC7F9-9A51-4367-9063-A120244FBEC7" ascii wide
  32. $string3 = "%systemroot%\\system32\\cmd.exe" ascii wide
  33. $string4 = "Elevation:Administrator!new:" ascii wide
  34.  
  35. condition:
  36. all of ($string*) and filesize > 800KB
  37. }
Advertisement
Add Comment
Please, Sign In to add comment