Analysis

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

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

General

  • Target

    JaffaCakes118_b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74.exe

  • Size

    257KB

  • MD5

    bd8f74074139a4eebd38714fd34907ea

  • SHA1

    513f813e25cd88d9fd40a10c5ec6360079e64c30

  • SHA256

    b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74

  • SHA512

    9e2708595c30e4a53b475db2448258091eccb8dd6dbcd078122d4680643cb123b5c6dfb024d60bac17d64fee914f6a103770fd83043476458d0c73d647f3b64b

  • SSDEEP

    3072:uTjk+g7D/7ncnzNy6rVZE0pj9SpcvSyo7hs:uTjJ6/7ncA6hZE0pBSCF

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_b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ocrkvwsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lwbbfwhi.exe" C:\Windows\SysWOW64\ocrkvwsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ocrkvwsg binPath= "C:\Windows\SysWOW64\ocrkvwsg\lwbbfwhi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ocrkvwsg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ocrkvwsg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2004
    • 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:3588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3492 -s 1032
      2⤵
      • Program crash
      PID:1932
  • C:\Windows\SysWOW64\ocrkvwsg\lwbbfwhi.exe
    C:\Windows\SysWOW64\ocrkvwsg\lwbbfwhi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6b04c889dd842c848cb86f0b01feb26900193ecc5aa863e699e26a186326a74.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2856 -s 516
      2⤵
      • Program crash
      PID:2264
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3492 -ip 3492
    1⤵
      PID:3136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2856 -ip 2856
      1⤵
        PID:1476

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        7f8d931cb18be2d9add822105068d4fb

        SHA1

        8919d61e305234fd80bbaa98f371dce359260e76

        SHA256

        3b067bf91d181023ebf4b097db718941b9dac9f7bc5eb5c13b5984b9fe9a5f6f

        SHA512

        86407bb504b51a03a0e34bee95e6b5880501a72dc95a648a6205b5c0197785589b7920ca5cc5f7fb47db54f653889904a640f6583277e14b3ee3e2f0c6f8b2cc

      • memory/2856-14-0x0000000000400000-0x0000000002B76000-memory.dmp

        Filesize

        39.5MB

      • memory/3492-0-0x0000000002D20000-0x0000000002D2D000-memory.dmp

        Filesize

        52KB

      • memory/3492-1-0x0000000002D30000-0x0000000002D43000-memory.dmp

        Filesize

        76KB

      • memory/3492-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3492-7-0x0000000002D20000-0x0000000002D2D000-memory.dmp

        Filesize

        52KB

      • memory/3492-6-0x0000000000400000-0x0000000002B76000-memory.dmp

        Filesize

        39.5MB

      • memory/3492-8-0x0000000002D30000-0x0000000002D43000-memory.dmp

        Filesize

        76KB

      • memory/5076-10-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB

      • memory/5076-12-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB

      • memory/5076-13-0x0000000000A70000-0x0000000000A85000-memory.dmp

        Filesize

        84KB