Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 14:26

General

  • Target

    8bef47b423bc1318ad88f0d239717e26_JaffaCakes118.exe

  • Size

    11.6MB

  • MD5

    8bef47b423bc1318ad88f0d239717e26

  • SHA1

    f6015b826634751b01f561540a034b7e8bccc46d

  • SHA256

    93f3712dbebaafe28d0c52837e64ebdff4faf292f1a6b75abb885cb6e719753f

  • SHA512

    5c885dd3f1228ec73330d516f35dbb352caddf0c0ebe57fc9d21324293f1fc933358940fe38e83fab480a62713c6d11d98f3bb92a82ceb65599e6260b8e919f6

  • SSDEEP

    49152:ipWkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhN:ipW

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
  • 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\8bef47b423bc1318ad88f0d239717e26_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8bef47b423bc1318ad88f0d239717e26_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mhpzyznd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\mhpzyznd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mhpzyznd binPath= "C:\Windows\SysWOW64\mhpzyznd\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\8bef47b423bc1318ad88f0d239717e26_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mhpzyznd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mhpzyznd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • 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:1064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4772 -s 1232
      2⤵
      • Program crash
      PID:2164
  • C:\Windows\SysWOW64\mhpzyznd\hcgyozbz.exe
    C:\Windows\SysWOW64\mhpzyznd\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\8bef47b423bc1318ad88f0d239717e26_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1008
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:64
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1008 -s 596
      2⤵
      • Program crash
      PID:2116
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4772 -ip 4772
    1⤵
      PID:3024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1008 -ip 1008
      1⤵
        PID:2388

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        0e997292ca51dbc5b28289923ca4e15a

        SHA1

        804c8b48ccee55a073226b7a75057ce2382b40de

        SHA256

        3e6780633fa97a173d5fdfad39c7901bd31b169829dd4335507f84a0e49a9fda

        SHA512

        061095ffbbde42a3dc77be4d91d7df81f76af27bc60de43d08a2cd049023ba2f3e2938c54bb0ae90adac0291463a3826ea9886d84fd94530155f65f278b06788

      • memory/64-16-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/64-22-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/64-24-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/64-23-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/64-12-0x00000000012A0000-0x00000000012B5000-memory.dmp

        Filesize

        84KB

      • memory/1008-8-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/1008-11-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/1008-21-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/1008-10-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/4772-17-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/4772-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4772-3-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/4772-0-0x0000000000400000-0x000000000046C000-memory.dmp

        Filesize

        432KB

      • memory/4772-20-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4772-19-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/4772-2-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

      • memory/4772-15-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB