Analysis

  • max time kernel
    143s
  • 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
    03-12-2024 18:18

General

  • Target

    bea00b0379c20b4acb5b72ddc0be12e1_JaffaCakes118.exe

  • Size

    10.7MB

  • MD5

    bea00b0379c20b4acb5b72ddc0be12e1

  • SHA1

    046dd1c76a1fcecba03ab6af167c2aa1bec79c9d

  • SHA256

    d56b0df7f0c477e3c35c615cc0a4a1d43d3869ce43b48bcf79a9a415aedbc60a

  • SHA512

    073cef7a55c8c8b87cd97bd598a273bc1d5541bc34806898569efbc5c77975bc19699aa4d0375fca40313e4b777cd1ccc0c8c3de0c414676ef15b8ea082e57f9

  • SSDEEP

    6144:RPOE0xjG9DJs6XBy+UP29MX6TERERERERERERERERERERERERERERERERERERERl:k1xS9RdUe9MX6

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • 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\bea00b0379c20b4acb5b72ddc0be12e1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\bea00b0379c20b4acb5b72ddc0be12e1_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jbdwahpf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lhzzwlky.exe" C:\Windows\SysWOW64\jbdwahpf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jbdwahpf binPath= "C:\Windows\SysWOW64\jbdwahpf\lhzzwlky.exe /d\"C:\Users\Admin\AppData\Local\Temp\bea00b0379c20b4acb5b72ddc0be12e1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jbdwahpf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jbdwahpf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3876
    • 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:2948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1340 -s 668
      2⤵
      • Program crash
      PID:216
  • C:\Windows\SysWOW64\jbdwahpf\lhzzwlky.exe
    C:\Windows\SysWOW64\jbdwahpf\lhzzwlky.exe /d"C:\Users\Admin\AppData\Local\Temp\bea00b0379c20b4acb5b72ddc0be12e1_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1928
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1928 -s 560
      2⤵
      • Program crash
      PID:1120
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1340 -ip 1340
    1⤵
      PID:3124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 1928 -ip 1928
      1⤵
        PID:3040

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        3245d2daa36628d854c839f48c0bc698

        SHA1

        e50077dbb7391d6a3877df497ae365758dcd3ae3

        SHA256

        9fe67e3b227cb9d0dbcfbe863d4fefab71f6e4d55074815b432e331aaeaa628f

        SHA512

        ad470609a10a9b0d50f07b57be7c4a631fbae0532400014372d75bdbbe8d19591742450ae4d62d153120c0851998f470a024446a37cccea67b1865d7a9821e61

      • memory/116-17-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/116-16-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/116-7-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/1340-9-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

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

        Filesize

        84KB

      • memory/1340-0-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

      • memory/1340-10-0x00000000069C0000-0x00000000069D3000-memory.dmp

        Filesize

        76KB

      • memory/1340-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1340-14-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB

      • memory/1340-2-0x0000000005380000-0x000000000538D000-memory.dmp

        Filesize

        52KB

      • memory/1340-1-0x00000000069C0000-0x00000000069D3000-memory.dmp

        Filesize

        76KB

      • memory/1928-12-0x0000000000400000-0x0000000004C5B000-memory.dmp

        Filesize

        72.4MB