Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 16:36

General

  • Target

    JaffaCakes118_84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111.exe

  • Size

    242KB

  • MD5

    68060a28246b07b1497bf57d26c5647d

  • SHA1

    ad53b34a8a9789ea784975778d192d70b81aa35a

  • SHA256

    84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111

  • SHA512

    a73529a2209373b88cd5dce6d22061bdbb28f419a93531f19222e7e5bdf496ee07adbdc76b7aea473370374f36fcfab1993d4114901e283618c5da139158b700

  • SSDEEP

    6144:LGZQQCr8GU7oXgvogF7QfhuGDN1x5AV0mV9caD:iZL17oXgvwfh75T5+VV9c

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_84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrqieiqk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpkhonnb.exe" C:\Windows\SysWOW64\rrqieiqk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4416
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rrqieiqk binPath= "C:\Windows\SysWOW64\rrqieiqk\dpkhonnb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rrqieiqk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rrqieiqk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1288
    • 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:8
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2272 -s 572
      2⤵
      • Program crash
      PID:2652
  • C:\Windows\SysWOW64\rrqieiqk\dpkhonnb.exe
    C:\Windows\SysWOW64\rrqieiqk\dpkhonnb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_84383ee34a3b4ea76512141e7591aad60c1932d7adac69cd47ac8e16ef3a8111.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4572
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4572 -s 508
      2⤵
      • Program crash
      PID:2060
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2272 -ip 2272
    1⤵
      PID:4988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4572 -ip 4572
      1⤵
        PID:344

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        424b8e0a0a9a0f83e8a145bbd8821cb3

        SHA1

        aa7c8988a0d71e77bd9470b798b567a315b83f26

        SHA256

        5bbca61fd78328970fe5b70082127a34d4bbacd6752c535af176b07d8916b38c

        SHA512

        44c391d839835543a91c29de0aa695489709d786df11b24f30f015f14b6ff4375af2cc50108f3efa03a965bd9691d0b4d301fc8005db04aaf5c377dd56971d97

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

        Filesize

        308KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2272-9-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2272-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

      • memory/3688-14-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

      • memory/3688-16-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

      • memory/3688-17-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        308KB

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

        Filesize

        308KB

      • memory/4572-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        308KB