Analysis

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

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

General

  • Target

    JaffaCakes118_cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a.exe

  • Size

    271KB

  • MD5

    94c7198c19c34c0cda20f648f5ddddee

  • SHA1

    55bb7508994c6d934b30426f6de6262c2afcd164

  • SHA256

    cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a

  • SHA512

    eaa8f23d325ad827d9e17274c0381a76665fba56880463b6f7fffbb1c952b7b8b186365a95e64635e5ec231e3a3cf926cb4daaf1a06c62a71c3c3d01bb9220c6

  • SSDEEP

    6144:NlCjpeSS2LqgL6ebgC1zoTjc9JZHLza0UB/4:azS2LqgLdv1y4HLzri

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_cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qynutoa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kavhbnrj.exe" C:\Windows\SysWOW64\qynutoa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qynutoa binPath= "C:\Windows\SysWOW64\qynutoa\kavhbnrj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qynutoa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qynutoa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1012
    • 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:4944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4344 -s 1044
      2⤵
      • Program crash
      PID:1820
  • C:\Windows\SysWOW64\qynutoa\kavhbnrj.exe
    C:\Windows\SysWOW64\qynutoa\kavhbnrj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cf4f236229e742870789685e59e7427cd16482a2b34c14e3d3b82142a3103d4a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4352
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4352 -s 528
      2⤵
      • Program crash
      PID:216
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4344 -ip 4344
    1⤵
      PID:1524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4352 -ip 4352
      1⤵
        PID:1912

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        16a6b0b242b7a7c31e0ec9d42837c97b

        SHA1

        86b01096b9ac2f459797417d0773883112d77dc7

        SHA256

        2ec55a6534404ccee9f8f3153b03278406e9e2096e2810f154941b7799f359c4

        SHA512

        890cb7139773219345f827823b602b4f1a3056c0da63f5e8ea2e744d54af93db514194f26b2309155691bd76f980a6269fc598baa1ffb96ee7f675f337d1a71d

      • memory/1228-13-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/1228-16-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/1228-15-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4344-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/4344-9-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/4344-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4344-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/4352-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/4352-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/4352-18-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB