Analysis

  • max time kernel
    148s
  • 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
    22-12-2024 02:39

General

  • Target

    JaffaCakes118_380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a.exe

  • Size

    283KB

  • MD5

    d939f59a5bcb8560eb5d132ae3e6ea7a

  • SHA1

    82e3e9b15f64bbd80d22205f352c6595476146e5

  • SHA256

    380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a

  • SHA512

    6d77b9fc38e18c67226b9eed69b61de3b951787146dfd50099829f4104bb933d3ca4d73708781df8de70641e127c85fe1743cabd22ad5492f7705f2e30a21de4

  • SSDEEP

    3072:jfjgrBX7od3gqQXyYbzbZ5Vrnpxq6LF0o3/ycyo3YsKmMgPmovv8Nbd/iKg4wQ3S:DkrBARQbbZ3Dpx/LDR2mjPMhis3JjY

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_380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\izxpcoee\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgeztaku.exe" C:\Windows\SysWOW64\izxpcoee\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create izxpcoee binPath= "C:\Windows\SysWOW64\izxpcoee\dgeztaku.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description izxpcoee "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start izxpcoee
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2064
    • 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:2976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4596 -s 1216
      2⤵
      • Program crash
      PID:2556
  • C:\Windows\SysWOW64\izxpcoee\dgeztaku.exe
    C:\Windows\SysWOW64\izxpcoee\dgeztaku.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_380ccc988d649c1a53cb74a3f61ad835bf852f4bee51b6d325281291a5f0313a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1976
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1976 -s 524
      2⤵
      • Program crash
      PID:3064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4596 -ip 4596
    1⤵
      PID:1252
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1976 -ip 1976
      1⤵
        PID:3628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        3cfee19f16e3c582cac703259377572a

        SHA1

        6cbb1720a2300bc66dabc83e8f732944bd902d45

        SHA256

        67c29eff4994bb3f8028bfb7f1b6a3947f695cf783a176d1bf2d42248ab015d4

        SHA512

        9d5eae059d8bd678983a64bfde4db3a78cf1c1a3a254202fe003f259009646ae5526bcd1b44bebd6828a8f1e6f75fc02c66433cd340baca49113fb5ae2ba4ea0

      • memory/1216-9-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/1216-14-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/1216-15-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/1976-13-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4596-1-0x0000000002E00000-0x0000000002F00000-memory.dmp

        Filesize

        1024KB

      • memory/4596-2-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4596-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4596-11-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

      • memory/4596-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB