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
    29-12-2024 11:21

General

  • Target

    JaffaCakes118_045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9.exe

  • Size

    254KB

  • MD5

    3f97e25b571e5b39c46248482468af0b

  • SHA1

    7292c6503bb2f0315d9bd02fa03703222e845aa6

  • SHA256

    045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9

  • SHA512

    66ed5364cc36688f9bb176cc0f8ff90040de30ea24a90ed159416a0353278d9252fea5bfee9e847b21e5724b4e91677602fd50b7a054c3eb45866efd0cbdbfde

  • SSDEEP

    6144:e2HFrM+PL3nRZnvwnZFVyOIauHn4HhV24q:hM+DnbvwnZjyOvDHhM4q

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_045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\afcdhaxt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vklrepji.exe" C:\Windows\SysWOW64\afcdhaxt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create afcdhaxt binPath= "C:\Windows\SysWOW64\afcdhaxt\vklrepji.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description afcdhaxt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start afcdhaxt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3520
    • 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:3532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4808 -s 1244
      2⤵
      • Program crash
      PID:4044
  • C:\Windows\SysWOW64\afcdhaxt\vklrepji.exe
    C:\Windows\SysWOW64\afcdhaxt\vklrepji.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_045c130cc87e4f28d595ba4c453b22b1a5aee0880e7e470aa8376af489c999e9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 532
      2⤵
      • Program crash
      PID:4464
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 360 -p 4808 -ip 4808
    1⤵
      PID:4404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 2308 -ip 2308
      1⤵
        PID:3028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        9584845c0ac99d2db5e063289212cca1

        SHA1

        1264e768511d1b0527acab180968f377b11c66d6

        SHA256

        7e3960be6a8e65025320ba904883d276b9a59bc48cf688e992ecec4106ad028f

        SHA512

        7aa4990fc86f066620a2482285b8897311a6021faba12b8d98e1fa0fe842296b190ecdfb85770831bf3a569178989d967f18d2e81b27b1c8def19dcc4b31253f

      • memory/2308-15-0x0000000000400000-0x0000000001085000-memory.dmp

        Filesize

        12.5MB

      • memory/4060-11-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/4060-13-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/4060-14-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/4808-2-0x0000000002CB0000-0x0000000002CC3000-memory.dmp

        Filesize

        76KB

      • memory/4808-1-0x00000000011B0000-0x00000000012B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4808-7-0x0000000000400000-0x0000000001085000-memory.dmp

        Filesize

        12.5MB

      • memory/4808-8-0x0000000002CB0000-0x0000000002CC3000-memory.dmp

        Filesize

        76KB