Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/04/2024, 00:50

General

  • Target
    6306de9ef95eb74853a69952775fc37b_JaffaCakes118.exe
  • Size 12.4MB
  • Sample240401-a7ftbsgg71
  • SHA256 2482d2eeaa9f6877ec7505bd6cd92d1cd6b2014947f5aed110ef0859b5ca9f6d
  • MD5 SHA1 SHA512 SSDEEP

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.

  • Creates new service(s) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\6306de9ef95eb74853a69952775fc37b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\6306de9ef95eb74853a69952775fc37b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iwmtlmpg\
      2⤵
        PID:228
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ntorajje.exe" C:\Windows\SysWOW64\iwmtlmpg\
        2⤵
          PID:4540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iwmtlmpg binPath= "C:\Windows\SysWOW64\iwmtlmpg\ntorajje.exe /d\"C:\Users\Admin\AppData\Local\Temp\6306de9ef95eb74853a69952775fc37b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4248
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iwmtlmpg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iwmtlmpg
          2⤵
          • Launches sc.exe
          PID:2276
        • 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
          PID:1124
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3520 -s 588
          2⤵
          • Program crash
          PID:2288
      • C:\Windows\SysWOW64\iwmtlmpg\ntorajje.exe
        C:\Windows\SysWOW64\iwmtlmpg\ntorajje.exe /d"C:\Users\Admin\AppData\Local\Temp\6306de9ef95eb74853a69952775fc37b_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2948
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1316
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2948 -s 516
          2⤵
          • Program crash
          PID:3860
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3520 -ip 3520
        1⤵
          PID:2196
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2948 -ip 2948
          1⤵
            PID:2184

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ntorajje.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ntorajje.exe
                • Size 11.6MB
                • SHA256 f91d3c677942134cc05e96c1157249a5076998380167a343649984043e23fbb9
                • MD5 SHA1 SHA512 SSDEEP

                memory/1316-15-0x0000000001270000-0x0000000001285000-memory.dmp

                memory/1316-11-0x0000000001270000-0x0000000001285000-memory.dmp

                memory/1316-14-0x0000000001270000-0x0000000001285000-memory.dmp

                memory/1316-16-0x0000000001270000-0x0000000001285000-memory.dmp

                memory/1316-18-0x0000000001270000-0x0000000001285000-memory.dmp

                memory/2948-9-0x0000000000920000-0x0000000000A20000-memory.dmp

                memory/2948-10-0x0000000000400000-0x0000000000784000-memory.dmp

                memory/2948-17-0x0000000000400000-0x0000000000784000-memory.dmp

                memory/3520-4-0x0000000000400000-0x0000000000784000-memory.dmp

                memory/3520-3-0x0000000002390000-0x00000000023A3000-memory.dmp

                memory/3520-8-0x0000000000400000-0x0000000000784000-memory.dmp

                memory/3520-1-0x00000000009C0000-0x0000000000AC0000-memory.dmp