Analysis

  • max time kernel
    149s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    22-06-2022 12:34

General

  • Target

    2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5.exe

  • Size

    137KB

  • MD5

    2ccea0b6d24c740b88eb1ac98db1548f

  • SHA1

    38fc1c6b54b9d0804340d99f9e0c14bd566c4dad

  • SHA256

    2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5

  • SHA512

    a0b225e1835efd43fb69b2c429da8bef2a30a518ab59940e9d35bab45cc37c1d5817ede5f07b5995ceec2d0d292fb850d736003a8222a43c8214432addce5d0e

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
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5.exe
    "C:\Users\Admin\AppData\Local\Temp\2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zedkokjx\
      2⤵
        PID:4952
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jhvhidbh.exe" C:\Windows\SysWOW64\zedkokjx\
        2⤵
          PID:648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zedkokjx binPath= "C:\Windows\SysWOW64\zedkokjx\jhvhidbh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1204
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zedkokjx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4832
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zedkokjx
          2⤵
          • Launches sc.exe
          PID:4904
        • 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:1452
      • C:\Windows\SysWOW64\zedkokjx\jhvhidbh.exe
        C:\Windows\SysWOW64\zedkokjx\jhvhidbh.exe /d"C:\Users\Admin\AppData\Local\Temp\2e0a35235d3eaf1073af214c45b50f60639cd9e9050b990611302493caf666a5.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3012
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1296

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\jhvhidbh.exe
        Filesize

        10.9MB

        MD5

        4755c84f33b4bb1a31250fe15a5733dc

        SHA1

        fd31d71b790a511105f90b1eae808a08f61c74a4

        SHA256

        fcef92fa34c4afbc4a627d603a9cbe5e229b36c963d6f60a17d6e2843939ec5f

        SHA512

        f40e39e1b8469e3d1556fb4afd4bad1f0b65b84f32dbc04462fb3c2fde90287576a3777f6343c6fbb346d3d1296b76638a9e991950741578031075ec9c5f7cb5

      • C:\Windows\SysWOW64\zedkokjx\jhvhidbh.exe
        Filesize

        10.9MB

        MD5

        4755c84f33b4bb1a31250fe15a5733dc

        SHA1

        fd31d71b790a511105f90b1eae808a08f61c74a4

        SHA256

        fcef92fa34c4afbc4a627d603a9cbe5e229b36c963d6f60a17d6e2843939ec5f

        SHA512

        f40e39e1b8469e3d1556fb4afd4bad1f0b65b84f32dbc04462fb3c2fde90287576a3777f6343c6fbb346d3d1296b76638a9e991950741578031075ec9c5f7cb5

      • memory/648-132-0x0000000000000000-mapping.dmp
      • memory/1204-134-0x0000000000000000-mapping.dmp
      • memory/1296-140-0x0000000000000000-mapping.dmp
      • memory/1296-145-0x0000000000680000-0x0000000000695000-memory.dmp
        Filesize

        84KB

      • memory/1296-144-0x0000000000680000-0x0000000000695000-memory.dmp
        Filesize

        84KB

      • memory/1296-143-0x0000000000680000-0x0000000000695000-memory.dmp
        Filesize

        84KB

      • memory/1296-141-0x0000000000680000-0x0000000000695000-memory.dmp
        Filesize

        84KB

      • memory/1452-137-0x0000000000000000-mapping.dmp
      • memory/3012-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/3112-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4832-135-0x0000000000000000-mapping.dmp
      • memory/4904-136-0x0000000000000000-mapping.dmp
      • memory/4952-131-0x0000000000000000-mapping.dmp