Results 1 to 24 of 24

Thread: Can a dll be harmful ?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Can a dll be harmful ?

    hI
    I got an infection after going on "some random" websites,
    i managed to get rid of the malware with superantispyware but what surprised me is that it only found one single DLL file !
    Shoulnd it be also some EXE ??

  2. #2
    Addicted Member
    Join Date
    Jun 2010
    Location
    The Keystone State
    Posts
    131

    Re: Can a dll be harmful ?

    no. The code could have been accessed thru the dll. kinda like having eggs (the dll file) infected with chicken pox. you eat some eggs, now you are infected.

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Can a dll be harmful ?

    Quote Originally Posted by B61Nuke View Post
    no. The code could have been accessed thru the dll. kinda like having eggs (the dll file) infected with chicken pox. you eat some eggs, now you are infected.
    Of course it would be a stupid idea to create a virus or trojan that was contained in a dll that needed a exe in-order to run. If the user/victim deletes the executable the virus/trojan would not do anything. It just goes to show how smart hackers are, that they put the whole virus/trojan in a executable instead.
    Last edited by Nightwalker83; Mar 27th, 2012 at 08:37 PM. Reason: Fixed spelling!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2006
    Location
    Paris
    Posts
    301

    Re: Can a dll be harmful ?

    OK I thought DLL were not real executables like COM(from DOS era) or EXE...

  5. #5
    Addicted Member
    Join Date
    Jun 2010
    Location
    The Keystone State
    Posts
    131

    Re: Can a dll be harmful ?

    An EXE or a COM are not required. The malicious code could have been inserted inside a sub or function that is called thru the DLL or it could have been attached externally to the DLL. The sad part is it is easy to do. It is best to innoculate your files. That will setup a list of commonly used file attributes which prevent malicious code from attaching itself to the ends of installed files.
    Last edited by B61Nuke; Mar 28th, 2012 at 03:45 AM.

  6. #6
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Can a dll be harmful ?

    Quote Originally Posted by B61Nuke View Post
    An EXE or a COM are not required. The malicious code could have been inserted inside a sub or function that is called thru the DLL or it could have been attached externally to the DLL. The sad part is it is easy to do. It is best to innoculate your files. That will setup a list of commonly used file attributes which prevent malicious code from attaching itself to the ends of installed files.
    How would the code in a dll run without being called via the the executable that the user interacts with?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  7. #7
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: Can a dll be harmful ?

    What he describes is DLL Injection... the malicious DLL injects itself into an existing, common process. It can also set itself up as a service, running in the background.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,289

    Re: Can a dll be harmful ?

    Quote Originally Posted by Nightwalker83 View Post
    How would the code in a dll run without being called via the the executable that the user interacts with?
    By launching rundll32.exe, a dll can be run just like any other form of executables (exe, com...) given that it was written to run like a program. Take this fake antivirus program for example, after the user visit a bad site, the dll is downloaded and saved somewhere on the local HDD (normally under the user profile application folder since that folder doesn't requires administrative privilege to write to), and then it write an entry in the HKCU\Microsoft\Windows\CurrentVersion\Run (again, the current logged in user always have read/write access to the HKCU reg key) to run the rundll32.exe with the downloaded dll as the argument.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  9. #9
    Lively Member Brinith's Avatar
    Join Date
    Feb 2012
    Location
    Near you
    Posts
    116

    Re: Can a dll be harmful ?

    Sadly,knowledge comes with a price...
    "When ideas and actions fuse, they form creations"

  10. #10
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Please someone send me and dll file and told me to put it in system32 folder and then go to the excel file he send me and able the macros.
    It may be harmful?
    And please tell me what i should to to fix it.
    Plus i have an amazon account.
    If it was an Trojan Horse maybe he can steal my credixs number that i have in amazon???
    Please reply me!
    I download Malwarebytes and scan the file and it is ok!

  11. #11
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,904

    Re: Can a dll be harmful ?

    Who is someone?
    You really should have a good reason and trust to source of which you get a DLL and Excel file with macro's

    Malwarebytes and virusscanner only know about general spread virusses/ransomware/adware
    If you get a single DLL from an individual then this DLL has not to be known by those companies.

  12. #12
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    And can i learn if it was something bad???
    Or i will never know?
    Please guys help!!
    And i should go and change my credid card now?

    And i just delete the dll??
    And i am safe!
    Oh guys sorry but i worry !
    Please tell me all the steps i should do now!

  13. #13
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    Please someone send me and dll file and told me to put it in system32 folder and then go to the excel file he send me and able the macros.
    It may be harmful? I download Malwarebytes and scan the file and it is ok!
    You don't know. All you know is that if it is flagged by an anti-virus program then it is all most certainly harmful. If it is not flagged then this does not mean that it is not harmful.

    And please tell me what i should to to fix it.
    If you have opened the excel file, then wipe your system and re-install the OS from scratch using your system file image backup.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  14. #14
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    i don't have system file image backup!
    Please any other suggestion?

  15. #15
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    If the dll is a new addition to system32 (and is not overwriting an existing dll), then the code in the dll is not activated until that dll is loaded which happens when any of its resources are used (from a macro in the excel file?). If it overwrites an existing dll then the same applies - but you don't really know what activates the dll.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  16. #16
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    Quote Originally Posted by me lene View Post
    i don't have system file image backup!
    Please any other suggestion?
    Well you really have three options.

    1) delete the .dll and the excel file and hope
    2) Install a full-feature anti-virus system and perform a full scan and hope
    3) re-install the OS from scratch as if on a new computer.
    Last edited by 2kaud; Jun 28th, 2017 at 08:04 AM.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  17. #17
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Oh guys thanks so much! I don't know how to do OS !!
    But i delete the files and i asked a friend to check for me from Teamviewer.
    And he checked if the program has downloaded other files and he told me no! And he told me he checked everything looks ok.
    And he told me that 99% it is safe!
    But i delete it.
    There is no other way to be 100% sure?
    And now it is running any program and i cannot see it?
    Plus about credits? I have only account in amazon! I have never used my credit somewhere else and i just put it once some months before when i did my 1st Purchase.
    And i cannot even see my number ...you know it has ****.
    So i am safe?
    Or i should change it now?

  18. #18
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    And he told me that 99% it is safe!
    But i delete it.
    There is no other way to be 100% sure?
    No. To be 100% sure you'll need to do a complete re-install of the OS as a fresh install.

    Which OS is involved here? Did you open the excel file as a user, as an admin or with elevated privileges?
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  19. #19
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Quote Originally Posted by 2kaud View Post
    No. To be 100% sure you'll need to do a complete re-install of the OS as a fresh install.

    Which OS is involved here? Did you open the excel file as a user, as an admin or with elevated privileges?
    Ι opened it as i open every file in my laptop!!!
    I am the only user.

  20. #20
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Οh and he looked and which programs are they working and which ones are going to run in the next install.

  21. #21
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    Which version of windows? as I asked in my post #18.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  22. #22
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Quote Originally Posted by 2kaud View Post
    Which version of windows? as I asked in my post #18.
    οh sorry i did not see that!
    Windows 7

  23. #23
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    1,000

    Re: Can a dll be harmful ?

    Assuming the computer is fully patched, it's unlikely you have an installed virus. However that doesn't mean that 'damage' hasn't been done to the operating state of the computer. No anti-virus program will detect this sort of operational damage. The only guarantee against such damage is a complete OS installation.

    I know of an instance similar to this (involving word rather than excel). Anti-virus scans showed no issues but internet exploring became unusable with the browser repeatedly reporting errors. Fortunately this user had a system image backup which was used to re-install the system - after which everything worked OK again.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  24. #24
    New Member
    Join Date
    Jun 2017
    Posts
    8

    Re: Can a dll be harmful ?

    Quote Originally Posted by 2kaud View Post
    Assuming the computer is fully patched, it's unlikely you have an installed virus. However that doesn't mean that 'damage' hasn't been done to the operating state of the computer. No anti-virus program will detect this sort of operational damage. The only guarantee against such damage is a complete OS installation.

    I know of an instance similar to this (involving word rather than excel). Anti-virus scans showed no issues but internet exploring became unusable with the browser repeatedly reporting errors. Fortunately this user had a system image backup which was used to re-install the system - after which everything worked OK again.
    Thank you for one more time for your help!!!!
    You are so kind!
    But i don't know how to do that and have a backup!
    I think its difficult.

    And when this friend of mine looked in the programs that are running and will run in the next install of my laptop he did not see anything! It can be somewhere but i cannot see that?

    Well when i downloaded this files i had only ESET NOD32 antivirus!
    But yesterday i downloaded the walwarebytes and ccleaner!
    Because i wanted to be sure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width