Analysis

  • max time kernel
    149s
  • 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
    24-12-2024 15:08

General

  • Target

    JaffaCakes118_1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f.exe

  • Size

    277KB

  • MD5

    886521f6b302733ec56fa74e9eee797c

  • SHA1

    426770987d11b12e6b9709a7064a143e39a2adbc

  • SHA256

    1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f

  • SHA512

    a267361d9f84755a8346a303c3ea7f65ee6b7a721c124fe12ba67531509d3ad2d9c3cf6f35fc0b29922f619e8f4a96895c29305c91894a476023fb508a5a01d9

  • SSDEEP

    3072:Hdh4rj43qHj/zjgRYR6lVatBLufQxMmYq7sxkgaBCh:f4rj46/zjgRI2atBLTMYQiga

Malware Config

Extracted

Family

tofsee

C2

niflheimr.cn

jotunheim.name

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_1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tcgqmnxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xepsgcek.exe" C:\Windows\SysWOW64\tcgqmnxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tcgqmnxk binPath= "C:\Windows\SysWOW64\tcgqmnxk\xepsgcek.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tcgqmnxk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tcgqmnxk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • 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:748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3128 -s 1044
      2⤵
      • Program crash
      PID:3252
  • C:\Windows\SysWOW64\tcgqmnxk\xepsgcek.exe
    C:\Windows\SysWOW64\tcgqmnxk\xepsgcek.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1de61f619fa0533fb1b90d506d18b80b49d738264d2d96822c8600a696a2546f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1652
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1412
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1652 -s 536
      2⤵
      • Program crash
      PID:448
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3128 -ip 3128
    1⤵
      PID:1592
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1652 -ip 1652
      1⤵
        PID:3948

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        aa1fd8e1ae7737ab2c2a0f0d5b4234e1

        SHA1

        821dc163136a332fcde836e0e268ad35ee4f2637

        SHA256

        52e854354f5a87a41693e00922e91cc134de9def92211326dc2ed4bfd64af762

        SHA512

        e57dc6e9b484f85c9eca5a562851a900231c21103f0e8c5c23e220122943399a921c5ed0fda897f3744269aa427552e3334f4b47d253fde9916e53c871d87609

      • memory/1412-14-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/1412-17-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/1412-16-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/1652-12-0x0000000000400000-0x00000000004D9000-memory.dmp

        Filesize

        868KB

      • memory/1652-11-0x0000000000400000-0x00000000004D9000-memory.dmp

        Filesize

        868KB

      • memory/1652-13-0x0000000000400000-0x00000000004D9000-memory.dmp

        Filesize

        868KB

      • memory/1652-19-0x0000000000400000-0x00000000004D9000-memory.dmp

        Filesize

        868KB

      • memory/3128-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3128-7-0x0000000000400000-0x00000000004D9000-memory.dmp

        Filesize

        868KB

      • memory/3128-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3128-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3128-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3128-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB