Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-12-2024 12:42

General

  • Target

    c7bfea0e1fa04342d6c32abe84e75acf_JaffaCakes118.exe

  • Size

    10.9MB

  • MD5

    c7bfea0e1fa04342d6c32abe84e75acf

  • SHA1

    f91b2ede055fa0e3348310ff0794409a3c857819

  • SHA256

    6de6aec6a5c130802bc31f27194e2deeab5e72dce322d925d270359a0a239f8a

  • SHA512

    57c4b451230c5b315ed58ce5467107a2a853985d06e05f63fd2e9e5e78fe20428a184cf637e6871642093ce3d907ae4a44e5d874e78da6c59c2f8e10a491b50d

  • SSDEEP

    196608:IXPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPH:I

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
  • 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\c7bfea0e1fa04342d6c32abe84e75acf_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c7bfea0e1fa04342d6c32abe84e75acf_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hbiwxcya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wlyugfyk.exe" C:\Windows\SysWOW64\hbiwxcya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hbiwxcya binPath= "C:\Windows\SysWOW64\hbiwxcya\wlyugfyk.exe /d\"C:\Users\Admin\AppData\Local\Temp\c7bfea0e1fa04342d6c32abe84e75acf_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hbiwxcya "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hbiwxcya
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3444
    • 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:1648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 1308
      2⤵
      • Program crash
      PID:5060
  • C:\Windows\SysWOW64\hbiwxcya\wlyugfyk.exe
    C:\Windows\SysWOW64\hbiwxcya\wlyugfyk.exe /d"C:\Users\Admin\AppData\Local\Temp\c7bfea0e1fa04342d6c32abe84e75acf_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5000
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5000 -s 560
      2⤵
      • Program crash
      PID:668
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 212 -ip 212
    1⤵
      PID:3764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 5000 -ip 5000
      1⤵
        PID:2368

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        7f2a96e0a8b5df4b021819447a8d1db1

        SHA1

        7d673749f7801bcf5bfa65a2abeb4bc62d4b75d8

        SHA256

        1e3dedfbf54b02a0c332080cee94305aa37728bbed52dd7de9961d937df61ef7

        SHA512

        e9a94a1076b676dd78d3584bf88f09027847df6dcafa5e49dc60382a283d1b6d2c895949a01f562956193232acda69d45158e49c79cfd41756116ca416197cf7

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/212-1-0x0000000000A30000-0x0000000000B30000-memory.dmp

        Filesize

        1024KB

      • memory/212-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3840-12-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/3840-14-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/3840-17-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/5000-11-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/5000-16-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/5000-15-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB