Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-12-2024 18:06

General

  • Target

    JaffaCakes118_f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f.exe

  • Size

    316KB

  • MD5

    3cdec4eabd9384b04fc2970cf0c9acff

  • SHA1

    bc59842823db0768236925cc4d57fb34815d652f

  • SHA256

    f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f

  • SHA512

    7b5e9f0f55352ae540632c4327baf9b9caf198d224ccc012320cf5f862f95409b7485980eb4085b57fff28d283a0cb2b21a6c9e367b2c84e146d035433fe7160

  • SSDEEP

    6144:RJgfYQY4BHTgs5Xcm/eIu0uzbgwuyr7ITsq2l5:4wQY4BHTJ5czIunnP79l

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.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_f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\odgztnub\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aywldqmp.exe" C:\Windows\SysWOW64\odgztnub\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create odgztnub binPath= "C:\Windows\SysWOW64\odgztnub\aywldqmp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description odgztnub "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start odgztnub
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • 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:4508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4700 -s 592
      2⤵
      • Program crash
      PID:2132
  • C:\Windows\SysWOW64\odgztnub\aywldqmp.exe
    C:\Windows\SysWOW64\odgztnub\aywldqmp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f657e5671311334daa910d927bdfc0e3ab59b3f8ffbaabad10c36ae02cc6b96f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1604
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1604 -s 516
      2⤵
      • Program crash
      PID:1536
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4700 -ip 4700
    1⤵
      PID:3616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1604 -ip 1604
      1⤵
        PID:3152

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        6934a3a4b609fd1d72f07940dbfd546c

        SHA1

        2662869f676f2e8d07032486fa54204077e017cf

        SHA256

        218bbf14d13fc2cef60fd3181394b934329633d16119f422672988b9e5c9afe7

        SHA512

        4f2dfdc12153b239d2f34f05003e628c4287ed59734594b53189e0a299465b6478c8d0a79fc902bef4c891898aa8c67c27e2d78dfe363a12a472e897fad93eb1

      • memory/1604-14-0x0000000000400000-0x0000000002B84000-memory.dmp

        Filesize

        39.5MB

      • memory/4520-10-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/4520-12-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/4520-13-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/4700-0-0x0000000002CF0000-0x0000000002CFD000-memory.dmp

        Filesize

        52KB

      • memory/4700-1-0x00000000048F0000-0x0000000004903000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4700-8-0x00000000048F0000-0x0000000004903000-memory.dmp

        Filesize

        76KB

      • memory/4700-7-0x0000000002CF0000-0x0000000002CFD000-memory.dmp

        Filesize

        52KB

      • memory/4700-6-0x0000000000400000-0x0000000002B84000-memory.dmp

        Filesize

        39.5MB