Analysis

  • max time kernel
    149s
  • 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
    05-12-2024 02:38

General

  • Target

    c5827bccfff621de9248e02b015d9522_JaffaCakes118.exe

  • Size

    10.3MB

  • MD5

    c5827bccfff621de9248e02b015d9522

  • SHA1

    e8be59c1d0523f26497bffd90b2c72c4377e9bb6

  • SHA256

    b186eda75a3fd90163c798cb6b11f457f04175e71e09f86c0ec7037c56db55d9

  • SHA512

    4a0caae7f03ce30426395061706c4be51e11f0d53624b0ed115b3861d5264c462ccd1c1e7a6ab30fe4b2140fee898673980f0ab104799c663c1cde9acfc48568

  • SSDEEP

    49152:2cUGb2222222222222222222222222222222222222222222222222222222222P:2cU

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\c5827bccfff621de9248e02b015d9522_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c5827bccfff621de9248e02b015d9522_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqhedgjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfagzmw.exe" C:\Windows\SysWOW64\lqhedgjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lqhedgjf binPath= "C:\Windows\SysWOW64\lqhedgjf\dfagzmw.exe /d\"C:\Users\Admin\AppData\Local\Temp\c5827bccfff621de9248e02b015d9522_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lqhedgjf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lqhedgjf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3608
    • 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:1700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4696 -s 1040
      2⤵
      • Program crash
      PID:2920
  • C:\Windows\SysWOW64\lqhedgjf\dfagzmw.exe
    C:\Windows\SysWOW64\lqhedgjf\dfagzmw.exe /d"C:\Users\Admin\AppData\Local\Temp\c5827bccfff621de9248e02b015d9522_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2512
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2512 -s 528
      2⤵
      • Program crash
      PID:2988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2512 -ip 2512
    1⤵
      PID:4588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4696 -ip 4696
      1⤵
        PID:4292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        e7ccebf608ee77347c4d5454bf36bb70

        SHA1

        22326f1682e400f00fd1107354fc6a4957a0edf3

        SHA256

        9cb85e49a813047f4778b9ad81828655a109a9af72236fde1271378a088f904b

        SHA512

        84ead31810828bffc0c31760dc3a178dae3bb41a0f8c287ba8344b002165ad6a1567a9b522c4a962063000667922e3e3a195ba50c48c767f607b5903c9a38c78

      • memory/2512-8-0x0000000000400000-0x0000000000472000-memory.dmp

        Filesize

        456KB

      • memory/2512-16-0x0000000000400000-0x0000000000472000-memory.dmp

        Filesize

        456KB

      • memory/2512-10-0x0000000000400000-0x0000000000472000-memory.dmp

        Filesize

        456KB

      • memory/2512-9-0x0000000000400000-0x0000000000472000-memory.dmp

        Filesize

        456KB

      • memory/3392-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3392-11-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3392-20-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3392-21-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/3392-22-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

      • memory/4696-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4696-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4696-18-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4696-17-0x0000000000400000-0x0000000000472000-memory.dmp

        Filesize

        456KB