Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 14:46

General

  • Target

    JaffaCakes118_feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5.exe

  • Size

    165KB

  • MD5

    e7263f05e56336fec5a7f4babddef26f

  • SHA1

    92ca7e6f6ee496b966f3539f4fcca3f46c5ff208

  • SHA256

    feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5

  • SHA512

    3c8da0e630db031f49415f02c46b876d4587214e0fd20a15017946cd2eeaf5131cb626fcc295e1caf31abab117f400934da4bf68f0071da8daabee934c72ef6f

  • SSDEEP

    3072:/De/Z5VptcYOMkNhl7oT7grwKXsVzfBus46D2:S/ZrptcYObbsVzf8sna

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.

  • 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_feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sgawfzpl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\inmkagpe.exe" C:\Windows\SysWOW64\sgawfzpl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sgawfzpl binPath= "C:\Windows\SysWOW64\sgawfzpl\inmkagpe.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sgawfzpl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sgawfzpl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4380
    • 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:448
  • C:\Windows\SysWOW64\sgawfzpl\inmkagpe.exe
    C:\Windows\SysWOW64\sgawfzpl\inmkagpe.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_feab054c96a27cc00b2fc254de1085abad802cda81b9c98b80e0538ad99888e5.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2316
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1728

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    d0e27b2cbff44abc2a819483fcc590a4

    SHA1

    33ce92e7682b4a5e49a7cc9896ce1b8e114b4a5e

    SHA256

    eef75eeeab9e7ebcd888b41f905c9fada2474a3f3709a8605c32fb302a6ca6cf

    SHA512

    c34d3bbbeb91c8b712e3ea11b21f879931352fa8c870c4b0d2e354bacc73a605c37df2e9a65f3c126659a0afa6025f00cc8e87bf62adf3995ce9f88173921349

  • memory/1728-14-0x00000000009E0000-0x00000000009F5000-memory.dmp

    Filesize

    84KB

  • memory/1728-17-0x00000000009E0000-0x00000000009F5000-memory.dmp

    Filesize

    84KB

  • memory/1728-16-0x00000000009E0000-0x00000000009F5000-memory.dmp

    Filesize

    84KB

  • memory/2316-8-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2316-6-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2316-7-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/2316-19-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/4988-0-0x00000000005C0000-0x00000000005CD000-memory.dmp

    Filesize

    52KB

  • memory/4988-12-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/4988-10-0x0000000000400000-0x0000000000431000-memory.dmp

    Filesize

    196KB

  • memory/4988-13-0x00000000005C0000-0x00000000005CD000-memory.dmp

    Filesize

    52KB

  • memory/4988-11-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4988-1-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB