Analysis

  • max time kernel
    145s
  • 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
    24-12-2024 22:28

General

  • Target

    JaffaCakes118_96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578.exe

  • Size

    231KB

  • MD5

    105c2e0dafa26bacf0a958901e420c89

  • SHA1

    48dc877df04c59953e3388b5938902556fd24f7e

  • SHA256

    96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578

  • SHA512

    496f0963ab04fbf2069e56dbe583264fb0a71cc5834e2842def04ce34576d4cbc6167807b33ac489718e0cb008ba640fee31fd392f36296c938960c0a9e109ca

  • SSDEEP

    3072:nMgHkJMJcgKgsARWc+bPd45qVggjcGkNIVqIOYOgpd6:QtgbLsd97ITsqEx

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

ovicrush.cn

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_96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\plehgoxg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ejedbfxw.exe" C:\Windows\SysWOW64\plehgoxg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create plehgoxg binPath= "C:\Windows\SysWOW64\plehgoxg\ejedbfxw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description plehgoxg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start plehgoxg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4004
    • 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:3920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3184 -s 804
      2⤵
      • Program crash
      PID:376
  • C:\Windows\SysWOW64\plehgoxg\ejedbfxw.exe
    C:\Windows\SysWOW64\plehgoxg\ejedbfxw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_96f70941d15512c53180a853bdbc70ef8481e31ef7257f8710b9b46b311a2578.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3684
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3684 -s 528
      2⤵
      • Program crash
      PID:4628
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3184 -ip 3184
    1⤵
      PID:1832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 3684 -ip 3684
      1⤵
        PID:4100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        a70c806410b7df56075b15baf91debae

        SHA1

        e72e22e272c4b097bf4176e28c417a35b8847d78

        SHA256

        179ecbc5baa8833d98af9e3cf2eba3261b686669961d9ed1dfebf3634085e5bf

        SHA512

        85195fd2de7c806eab417ccb9be977981d7216217fad44be1e859d82e22e869b4cbc325c1e8361a620a6a813cfdb471974c8721723522138886fecd0439409b6

      • memory/3184-7-0x00000000023A0000-0x00000000023AD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/3184-1-0x00000000023D0000-0x00000000023E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3184-8-0x00000000023D0000-0x00000000023E3000-memory.dmp

        Filesize

        76KB

      • memory/3184-0-0x00000000023A0000-0x00000000023AD000-memory.dmp

        Filesize

        52KB

      • memory/3184-6-0x0000000000400000-0x0000000000652000-memory.dmp

        Filesize

        2.3MB

      • memory/3684-11-0x0000000000400000-0x0000000000652000-memory.dmp

        Filesize

        2.3MB

      • memory/3684-10-0x0000000000400000-0x0000000000652000-memory.dmp

        Filesize

        2.3MB

      • memory/3684-17-0x0000000000400000-0x0000000000652000-memory.dmp

        Filesize

        2.3MB

      • memory/4828-12-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/4828-14-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/4828-15-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB