Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-10-2024 20:29

General

  • Target

    6744b518ec9ccb2012bdbf736c7e187a_JaffaCakes118.exe

  • Size

    13.2MB

  • MD5

    6744b518ec9ccb2012bdbf736c7e187a

  • SHA1

    2d1197901aca6e7e331319a57ac3eeaf15245731

  • SHA256

    74868d600acb1c900eb7643f849d64b4e029a0417d091b1833672bbc0eaf49a1

  • SHA512

    d3b84833a751b58d70d3e590df0982c5965d8cfa81bfcce9eeca47dff42355201dc30d396a7ea69ec49823ee874c29ed4bf97a069aeabfe393e45bebc2cd2f77

  • SSDEEP

    49152:NgMtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt1:N

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.

  • 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\6744b518ec9ccb2012bdbf736c7e187a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\6744b518ec9ccb2012bdbf736c7e187a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vgxfewzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehnhwhsy.exe" C:\Windows\SysWOW64\vgxfewzu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vgxfewzu binPath= "C:\Windows\SysWOW64\vgxfewzu\ehnhwhsy.exe /d\"C:\Users\Admin\AppData\Local\Temp\6744b518ec9ccb2012bdbf736c7e187a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vgxfewzu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vgxfewzu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • 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:3160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4748 -s 740
      2⤵
      • Program crash
      PID:4196
  • C:\Windows\SysWOW64\vgxfewzu\ehnhwhsy.exe
    C:\Windows\SysWOW64\vgxfewzu\ehnhwhsy.exe /d"C:\Users\Admin\AppData\Local\Temp\6744b518ec9ccb2012bdbf736c7e187a_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4692
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4692 -s 524
      2⤵
      • Program crash
      PID:4368
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4748 -ip 4748
    1⤵
      PID:4532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4692 -ip 4692
      1⤵
        PID:1532

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        94111c5517c975a66ff09e72d772f9a1

        SHA1

        d1d4688f0a671e1998cfd50392fc80658d0024df

        SHA256

        a77f2d41cc132136066ec29a83a4393182ef4c6cbc1626d808e425e3b56db29f

        SHA512

        9df547fba33e8fd5a5760f051de4375cb44628ddc5921bb44e0b3dddf279dd693af5a988a588e9e4a18a38d7da8695e9fca4edab691ff7d55c976daf82aae20e

      • memory/2480-14-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/2480-17-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/2480-16-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/4692-13-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4692-12-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4692-11-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4692-18-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4748-8-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/4748-7-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4748-1-0x0000000000580000-0x0000000000680000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4748-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB