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
    31/03/2024, 16:52

General

  • Target
    58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe
  • Size 13.5MB
  • Sample240331-vdcj2afc31
  • SHA256 70e10e0e9a41b2a5eabc89163aaa2c749dac597f380e01f92e6e08090008a57e
  • 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\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wgmujzhr\
      2⤵
        PID:548
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lrmpyhhc.exe" C:\Windows\SysWOW64\wgmujzhr\
        2⤵
          PID:4236
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wgmujzhr binPath= "C:\Windows\SysWOW64\wgmujzhr\lrmpyhhc.exe /d\"C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2932
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wgmujzhr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wgmujzhr
          2⤵
          • Launches sc.exe
          PID:5084
        • 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:512
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2692 -s 1032
          2⤵
          • Program crash
          PID:1232
      • C:\Windows\SysWOW64\wgmujzhr\lrmpyhhc.exe
        C:\Windows\SysWOW64\wgmujzhr\lrmpyhhc.exe /d"C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3244
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2580
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3244 -s 536
          2⤵
          • Program crash
          PID:3796
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2692 -ip 2692
        1⤵
          PID:4244
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3244 -ip 3244
          1⤵
            PID:1748

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                lrmpyhhc.exe

                • Path C:\Users\Admin\AppData\Local\Temp\lrmpyhhc.exe
                • Size 12.3MB
                • SHA256 2e06f73997b78eb7c14f9ed03900fdebf17db235352f93e2f38470853bdb164d
                • MD5 SHA1 SHA512 SSDEEP

                memory/2580-15-0x0000000000290000-0x00000000002A5000-memory.dmp

                memory/2580-12-0x0000000000290000-0x00000000002A5000-memory.dmp

                memory/2580-16-0x0000000000290000-0x00000000002A5000-memory.dmp

                memory/2580-18-0x0000000000290000-0x00000000002A5000-memory.dmp

                memory/2580-19-0x0000000000290000-0x00000000002A5000-memory.dmp

                memory/2692-4-0x0000000000400000-0x0000000000785000-memory.dmp

                memory/2692-2-0x0000000000920000-0x0000000000933000-memory.dmp

                memory/2692-8-0x0000000000400000-0x0000000000785000-memory.dmp

                memory/2692-9-0x0000000000920000-0x0000000000933000-memory.dmp

                memory/2692-1-0x0000000000AE0000-0x0000000000BE0000-memory.dmp

                memory/3244-10-0x0000000000850000-0x0000000000950000-memory.dmp

                memory/3244-11-0x0000000000400000-0x0000000000785000-memory.dmp

                memory/3244-17-0x0000000000400000-0x0000000000785000-memory.dmp