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

  • MD5

    f22195b83a3c4e02677a69e80c8b66fe

  • SHA1

    22bb4f0bb5e5a74919c826951f6452379b5ab270

  • SHA256

    f0d18843cd2adf8eb01fb11839339c7f8ef134ace9f9d5a4f1bf4b6229808a07

  • SHA512

    93e9675c2f83bac2d27bb7df7c02e95208cddf763b020ee4c7655a79eff1b77b2afd7c6d695df66b429c429f03d1154bc6fdf0d0775b8c9144b4d271f8027c41

  • SSDEEP

    6144:X5VCb4QuzF5pIozzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz:J8NKF5p

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

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

          Filesize

          11.7MB

          MD5

          87ccdcc44a9f68a9b4592292839f95cc

          SHA1

          d686491c58972d9704bf04fbc7ed03dc7833df38

          SHA256

          d9e5559add026273d1915cf583145a3fa8cea6abafdcb3d1e4efc9a78cba1f5a

          SHA512

          0e608b0c7c979e58f70074baf3fb760e671c6cf0741a46db7c737f181da2e0d52abd21f9b0364cc661c6d4bcb366c67ccc2ed8ee8b5cbd6ad453c824329db64e

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB