Analysis

  • max time kernel
    145s
  • 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
    30-12-2024 23:34

General

  • Target

    JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe

  • Size

    138KB

  • MD5

    b9a33b8cb9f482ff1cb3774e97ead4dd

  • SHA1

    0ba07890880d2d95f45d7c34bba682c1cc66b646

  • SHA256

    bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd

  • SHA512

    544bab5b54ce30cdf91ea970821d4314c34d002d81a139a2ce17eaa7e7997ceb391e19cdb4c44690e0246b51de5e77d0577c3a239996d7b23cf2c6b0515f32fd

  • SSDEEP

    3072:XkhQBATi5WIOdtW3yHFJ55yHNq9MvsTuR6:XnYi51WYq9Mvuu

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_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qewmnzzn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fmyluhic.exe" C:\Windows\SysWOW64\qewmnzzn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qewmnzzn binPath= "C:\Windows\SysWOW64\qewmnzzn\fmyluhic.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qewmnzzn "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 qewmnzzn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1620
    • 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:1392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4336 -s 1188
      2⤵
      • Program crash
      PID:4016
  • C:\Windows\SysWOW64\qewmnzzn\fmyluhic.exe
    C:\Windows\SysWOW64\qewmnzzn\fmyluhic.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bdd7f1c254d2bd154445ab9f0dfb1213c30ffd241720862b5ad561fa1ad198fd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4408
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4408 -s 512
      2⤵
      • Program crash
      PID:4288
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4336 -ip 4336
    1⤵
      PID:3088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4408 -ip 4408
      1⤵
        PID:1420

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        a7d40e4d509c3d98f08df8be13eb63fe

        SHA1

        d2fd398c17bd0d1c67086d7b0e59cbfeaaff738f

        SHA256

        3cdaad304f783ebfe3dc9a3c0c574f4f6cbcfc51d0f8fe5353046e06ac04e947

        SHA512

        377590b5148f5ccd737655f875d0481ae81a0d63842a64dcc53f541db5ff9b47e08d912429e1352c60800e9786e543ccd6a3954fe5bfcac14cf101da64bac0d8

      • memory/4336-8-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

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

        Filesize

        84KB

      • memory/4336-2-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

      • memory/4336-9-0x0000000000750000-0x0000000000763000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4336-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/4408-11-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4408-13-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4408-12-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4408-19-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/5092-14-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/5092-16-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/5092-17-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB