Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-12-2024 12:31

General

  • Target

    JaffaCakes118_1b883b5d2b888c636af27554843ba011.exe

  • Size

    14.3MB

  • MD5

    1b883b5d2b888c636af27554843ba011

  • SHA1

    87d6dec397d1431c24d09eaab7f216dc84581982

  • SHA256

    60d3784c885a575e4da68efddcaadd42b60de71878fcf1059dcb911182c692f7

  • SHA512

    0164eb1b14f1793f8068cc016ecbdc7f0d7891e1206577776c0b67d4a9d03fcc8a49c3c8458fb9559e1f4fdf67b5aa5cc4bc73fb8fb4ca27b24e08f4373d671f

  • SSDEEP

    196608:NE/vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvn:NE

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b883b5d2b888c636af27554843ba011.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b883b5d2b888c636af27554843ba011.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hpeqfage\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aynztpaq.exe" C:\Windows\SysWOW64\hpeqfage\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hpeqfage binPath= "C:\Windows\SysWOW64\hpeqfage\aynztpaq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b883b5d2b888c636af27554843ba011.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hpeqfage "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hpeqfage
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2776
  • C:\Windows\SysWOW64\hpeqfage\aynztpaq.exe
    C:\Windows\SysWOW64\hpeqfage\aynztpaq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1b883b5d2b888c636af27554843ba011.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2928
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2644

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\aynztpaq.exe

    Filesize

    11.4MB

    MD5

    0b093888cc5d156247c536e800a26c00

    SHA1

    f4b8e375f65f8a7846294be8134473d32a691033

    SHA256

    5a3d1f03ba1ebcbc4778cdbaad1d39bd90c44e478ad46e2e30ea54579bf455c5

    SHA512

    144bff03af01423333e081c20ade2d3ceca233c9e7abe081a27aa6dd2ba36bf6c607aad97bb55b7ce2b267242020bd93b3365afa75636a2b8283568fdd728fc0

  • memory/2072-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2072-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2072-4-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB

  • memory/2072-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2072-9-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB

  • memory/2644-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2644-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2644-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2644-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2644-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2928-17-0x0000000000400000-0x0000000000870000-memory.dmp

    Filesize

    4.4MB