Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 07:18

General

  • Target

    JaffaCakes118_ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85.exe

  • Size

    229KB

  • MD5

    3cceaf2a10d926f108af3e93e95b8b04

  • SHA1

    272ff77b5510a9cd682f02fc7f6b823bfec081fc

  • SHA256

    ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85

  • SHA512

    06e6ce07d60ad94fd7d58ff3367ae684e5c5e483c1f65f2c1fdc900f93d62f33b84efe0d117919befa1044256ef2587253543282ed14464c69c001fa96395b85

  • SSDEEP

    3072:9F579c+MXLfd78Xr6yVAhikTUZTO0SXM7yn171sUSizP0aRHJDMV3zrulYn05Fmu:9F55c3V78XrfALTURgPSizca1JsId

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\JaffaCakes118_ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tthpjarr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lohpnpxh.exe" C:\Windows\SysWOW64\tthpjarr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tthpjarr binPath= "C:\Windows\SysWOW64\tthpjarr\lohpnpxh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tthpjarr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tthpjarr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2304
    • 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:5108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3096 -s 1300
      2⤵
      • Program crash
      PID:1120
  • C:\Windows\SysWOW64\tthpjarr\lohpnpxh.exe
    C:\Windows\SysWOW64\tthpjarr\lohpnpxh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ffe28723faf38f895cca323c218bb4a5d3c05b9a08634c366082e6d87645cf85.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1312
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1312 -s 520
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3096 -ip 3096
    1⤵
      PID:5104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1312 -ip 1312
      1⤵
        PID:4012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        5d0c12a3dda628b7f8de4df4fdf62ffa

        SHA1

        0bf344fb5c496c15e712876d2aa98fcba077a112

        SHA256

        2ae409eb009c38c5b4e7ceb4b7047f77eb178b48234e5dec06e336f8908207dd

        SHA512

        f94aed1f9d48215ccdb3421aeeadec70ca6c28e7aa0cead5011e6e97dc80ebc5b99ae2766d7e12d7fe264311d6ab22a60d823494da7cb527355cdd7890bc8637

      • memory/1312-10-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/1312-11-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/3096-1-0x00000000009F0000-0x0000000000AF0000-memory.dmp

        Filesize

        1024KB

      • memory/3096-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3096-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3096-12-0x0000000000400000-0x0000000000869000-memory.dmp

        Filesize

        4.4MB

      • memory/3096-13-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

      • memory/5068-8-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB

      • memory/5068-16-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB

      • memory/5068-17-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB