Analysis

  • max time kernel
    152s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/04/2024, 23:04

General

  • Target
    f22195b83a3c4e02677a69e80c8b66fe_JaffaCakes118.exe
  • Size 14.5MB
  • Sample240415-22l7psaf78
  • SHA256 f0d18843cd2adf8eb01fb11839339c7f8ef134ace9f9d5a4f1bf4b6229808a07
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f22195b83a3c4e02677a69e80c8b66fe_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f22195b83a3c4e02677a69e80c8b66fe_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lzrygyyi\
      2⤵
        PID:1644
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\edplqakx.exe" C:\Windows\SysWOW64\lzrygyyi\
        2⤵
          PID:4732
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lzrygyyi binPath= "C:\Windows\SysWOW64\lzrygyyi\edplqakx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f22195b83a3c4e02677a69e80c8b66fe_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4024
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lzrygyyi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lzrygyyi
          2⤵
          • Launches sc.exe
          PID:3480
        • 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:4612
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=4192,i,4770062162764366287,7825742579436984831,262144 --variations-seed-version --mojo-platform-channel-handle=4112 /prefetch:8
        1⤵
          PID:4872
        • C:\Windows\SysWOW64\lzrygyyi\edplqakx.exe
          C:\Windows\SysWOW64\lzrygyyi\edplqakx.exe /d"C:\Users\Admin\AppData\Local\Temp\f22195b83a3c4e02677a69e80c8b66fe_JaffaCakes118.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:4744
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe
            2⤵
            • Sets service image path in registry
            • Deletes itself
            PID:2796

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              edplqakx.exe

              • Path C:\Users\Admin\AppData\Local\Temp\edplqakx.exe
              • Size 11.7MB
              • SHA256 d9e5559add026273d1915cf583145a3fa8cea6abafdcb3d1e4efc9a78cba1f5a
              • MD5 SHA1 SHA512 SSDEEP

              memory/2796-3-0x0000000000340000-0x0000000000355000-memory.dmp

              memory/2796-5-0x0000000000340000-0x0000000000355000-memory.dmp

              memory/2796-7-0x0000000000340000-0x0000000000355000-memory.dmp

              memory/2796-6-0x0000000000340000-0x0000000000355000-memory.dmp

              memory/2796-8-0x0000000000340000-0x0000000000355000-memory.dmp

              memory/2796-9-0x0000000000340000-0x0000000000355000-memory.dmp