list illegal dlls

Discussion in 'malware problems & news' started by lucd, Apr 26, 2021.

  1. lucd

    lucd Registered Member

    Joined:
    Jan 30, 2018
    Posts:
    782
    Location:
    Island of Woman
    probably you already know this, but for some that don't this is quite a nice piece of code that can be run via cmd to list all system services and looking for DLLs that are loaded from suspicious locations.

    proper location ("legal" dll): C:\windows\system32


    run cmd with elevated priviliedges:
    powershell -command "Get-ItemProperty hklm:\SYSTEM\ControlSet001\Services\*\Parameters | ? { $_.servicedll } | select psparentpath, servicedll"
     
  2. zapjb

    zapjb Registered Member

    Joined:
    Nov 15, 2005
    Posts:
    5,680
    Location:
    USA still the best. But barely.
    Aren't the locations falsified or hidden of malicious dlls?
     
  3. lucd

    lucd Registered Member

    Joined:
    Jan 30, 2018
    Posts:
    782
    Location:
    Island of Woman
    yes but this is just a short piece of code it can't do magic:) I found it online and tested
    to some extent show hidden and superhidden would help,
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d 1 /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f
    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f


    but not if there was intention of hiding it via say a "service" or "programme" or "policy", seeking it from inside the OS is not ideal,
    I would boot into external OS and preferably "separated" OS then list dlls, for instance Linux write protected USB (lol)
    something like no virus thanks tools to monitor dlls would be better, mainly the
    DLL Explorer v1.2 , they focus on this alot via other programs: https://www.novirusthanks.org/download-free-software/
     
    Last edited: Apr 28, 2021
  4. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,544
    Location:
    U.S.A. (South)
    Thanks. Of Note. Add > List.txt if user like to examine findings in text form. :)
     
  5. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,544
    Location:
    U.S.A. (South)
  6. lucd

    lucd Registered Member

    Joined:
    Jan 30, 2018
    Posts:
    782
    Location:
    Island of Woman
  7. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,544
    Location:
    U.S.A. (South)
    Gladly :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.