Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 10:31

General

  • Target

    JaffaCakes118_fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef.exe

  • Size

    285KB

  • MD5

    9ae18937bee35e429d3cf973cc2c66bc

  • SHA1

    a2c8feadc6ef096d7de3d3ba138409e8cd4631eb

  • SHA256

    fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef

  • SHA512

    e34fd5eafa5c742729dffdbe401d5d10b5231fb90a2038c7a7f856e87a82f832e4c1bf67be2ae7af86d679c2fce6b786622b8ec088f990b759e6b16b6194fbd1

  • SSDEEP

    6144:yKFbjOROKji302CSXuzbgwu6L7ITsqSigaTwVf:FbjOROMYRxXunnn7s

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rpxnrern\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mbghbjmf.exe" C:\Windows\SysWOW64\rpxnrern\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rpxnrern binPath= "C:\Windows\SysWOW64\rpxnrern\mbghbjmf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rpxnrern "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rpxnrern
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1428
    • 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:1192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2520 -s 1036
      2⤵
      • Program crash
      PID:4084
  • C:\Windows\SysWOW64\rpxnrern\mbghbjmf.exe
    C:\Windows\SysWOW64\rpxnrern\mbghbjmf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_fe8eab1915f8ab5c7b8de91e09fae88b4c98626c317e7d61d6acb116fe29efef.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:920
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 920 -s 512
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2520 -ip 2520
    1⤵
      PID:1612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 920 -ip 920
      1⤵
        PID:3712

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        934c202cefc641c3e4864471a1b76f9f

        SHA1

        ac35500c5417d0185cd8ca1e2e5b179a30b5f63e

        SHA256

        cc0547a1b3cf850254954b74b9bcb4409904d85369e621fc388ec8b8bb3d7ec1

        SHA512

        3ad24090ccd282d18272631aa1e367099ac7a8c5d66fc0a3f71eb0c8ded8792af9c36fe640ba79e3626364883ff14af0e96b3e5e6aa9f1cbd98c8721baca6bb9

      • memory/920-8-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/920-7-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/920-16-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/920-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/2520-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2520-0-0x0000000000700000-0x000000000070D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/2520-13-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/2520-12-0x0000000000700000-0x000000000070D000-memory.dmp

        Filesize

        52KB

      • memory/2520-11-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/2520-1-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/3436-9-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/3436-17-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB

      • memory/3436-18-0x00000000003C0000-0x00000000003D5000-memory.dmp

        Filesize

        84KB