Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-10-2024 04:01

General

  • Target

    45bd4a3c341ab81c70f1fdc136bc77e4_JaffaCakes118.exe

  • Size

    11.4MB

  • MD5

    45bd4a3c341ab81c70f1fdc136bc77e4

  • SHA1

    fe6c5d998a976a2b37204a02aba4933fc5e349e9

  • SHA256

    ca2ce6433e4e6bd1587a16aabf7c4fd49d45e3aa36acf99bda30a07c81966500

  • SHA512

    77f9b9a77f35b8fc686a60fb53acfa642555d085dbbad107481a82e1d4d16044ab485923c0d9d6020dbccd8d67dbd836620d6395632ad5b993b6987e02ecd002

  • SSDEEP

    3072:bHZQIswULGiBqwZyNvXT/u22H/PaAf209fB7epgDnESzN57I6ZibkFah/NleJm/6:bHZQItUDBJiPT/u22H3s0DhcHU4l

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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\45bd4a3c341ab81c70f1fdc136bc77e4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\45bd4a3c341ab81c70f1fdc136bc77e4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nmpbzvum\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bzjhhxgw.exe" C:\Windows\SysWOW64\nmpbzvum\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nmpbzvum binPath= "C:\Windows\SysWOW64\nmpbzvum\bzjhhxgw.exe /d\"C:\Users\Admin\AppData\Local\Temp\45bd4a3c341ab81c70f1fdc136bc77e4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nmpbzvum "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nmpbzvum
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3148
    • 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:3436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1492 -s 668
      2⤵
      • Program crash
      PID:4832
  • C:\Windows\SysWOW64\nmpbzvum\bzjhhxgw.exe
    C:\Windows\SysWOW64\nmpbzvum\bzjhhxgw.exe /d"C:\Users\Admin\AppData\Local\Temp\45bd4a3c341ab81c70f1fdc136bc77e4_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3060
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3060 -s 512
      2⤵
      • Program crash
      PID:916
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1492 -ip 1492
    1⤵
      PID:1764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 196 -p 3060 -ip 3060
      1⤵
        PID:2752

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        f251f9c6df486bc601f419deac13827a

        SHA1

        c94e2c916e5895bb5b724910e153b5981a7e5455

        SHA256

        7a5ae32e74b7fededd288d2a9983d8b84064596df9c03ded43c59f3778fd28d3

        SHA512

        8f272eb75d6338ddb0bf70fcf1648a5536720168707d4fbf95a74a7958de016583361038d4cf4b2846129057d4d1f36eb394ade0832a82d6bc2943910c4b5575

      • memory/1492-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/1492-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1492-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1492-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/1492-1-0x0000000000560000-0x0000000000660000-memory.dmp

        Filesize

        1024KB

      • memory/3060-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3060-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3060-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4256-13-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB

      • memory/4256-15-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB

      • memory/4256-16-0x0000000000F00000-0x0000000000F15000-memory.dmp

        Filesize

        84KB