Results 1 to 21 of 21

Thread: Hardware viruses

  1. #1

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Hardware viruses

    I don't really know a lot of detail about IT hardware yet, but how easy is it to place a virus in hardware? for example in a network card, a graphics card, a cpu chip, or even a keyboard or a mouse?

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Hardware viruses

    I have seen viruses on factory media before, for example a cd-rom. Not in hardware. In theory you could be a virus on a hard disk controller chip and it would write it to the hard drive and a set time, but that would unlikely due the fact that is limited space on hardware controllers so it would hard to do. Using one of the new memory controllers would work the same way, it could just insert the virus some place according to some logic, but for the reason it would be unlikely.

    usually stuff in hardware that would cause you harm would be like a hardware key logger or a small radio device that would broadcast your modem traffic over RF.

  3. #3
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    it is theoretically possible to have a virus in the bios, and some viruses do in fact mess the bios up, but i dont know of any that store themselves there. With new bios that can be updated from windows, though... only a matter of time.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Hardware viruses

    Why would you need to know wabout this?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    Thanks for the replies, RobDog I meant to use the term virus loosely meaning code that can cause harm or create security breaches so it could be a keylogger, screenshots, trojan, worm, ect.

    I read a little about the clipper chip and realised that hardware can actually be a security risk. Until now I have primarily been looking at software, but now I am looking at my pc's hardware and wondering how much compiled unauditable code is running around in it?

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Hardware viruses

    Most AV programs will scan the resident memory too but other areas like embedded code in the firmware of hardware is very hard to detect as the vast amount of hardware manufacturers and models are out there. Best rule of thumb is to avoid questionable websites and scan snything that is placed in your system.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    I just had an issue come up concerning a hardware driver. My dad's dvd burner quit working altogether and he burned a disk for me with his usb drive. I didn't even run any code off of it, just opened it in explorer and boom, my dvd burner and my virtual drives are suddenly all broken. Had to do a system restore to fix it.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Hardware viruses

    A system restore will not restore firmware, only system files and registry settings. Chances are that he has a regular virus and it transfered over to your system via the cd.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    i know. I said it was in the device driver.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  10. #10
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Hardware viruses

    Firmware can't interact with software except through a driver, so the driver is the place to look for malicious stuff.

  11. #11

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    its probably easier if i look at something basic to understand the risk.... a keyboard....

    so if i opened up the keyboard.... i would see a series of keys connected to a circuit board.... which is then connected to a cable capable of interacting with a mainboard of a pc or at least a comms card attached to a mainboard ... the driver then translates the keyboard messages for the operating system...to gain access to the harddisk or internet comms ports it needs to gain access to the os hence the driver is weakness not the keyboard.

    although if i was a sneaky firmware manufacturer couldn't i hardcode drivers and security holes into the circuit board of the keyboard itself for the popular operating systems?

  12. #12
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    no because a keyboard is a serial connection and if you somehow sent data from your keyboard the receiver didn't recognize (like for instance plugging a mouse in the wrong hole ) it ignores all the wrong input altogether.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  13. #13

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    that's clear and makes most hardware safe to use drivers excepted hence all the fuss over opensource drivers.

    ok moving on to the mainboard then... is it possible to create a hardcoded bootstrap os to send all data moving through the mainboard to an external source via a hidden comms port?

  14. #14
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Hardware viruses

    Quote Originally Posted by learning c
    that's clear and makes most hardware safe to use drivers excepted hence all the fuss over opensource drivers.

    ok moving on to the mainboard then... is it possible to create a hardcoded bootstrap os to send all data moving through the mainboard to an external source via a hidden comms port?

    And how excatly to do you "hide" comm port circuit on a motherboard?

  15. #15

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    thanks for the reply superbovine...

    The Well Known Ports are those from 0 through 1023.

    The Registered Ports are those from 1024 through 49151

    The Dynamic and/or Private Ports are those from 49152 through 65535

    isn't it possible to build in a port that is not accessible to the os as well?

  16. #16
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    Well, when you said Com port in reference to a motherboard, we assumed(naturally) you were talking about COM ports, otherwise known as serial ports. And no it doesn't make DRIVERS safe to use. Drivers are software. this is why microsoft has the whole digitally-signed driver thing, and why my dvds quit working. when they got virii-modified, they lost their signature.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  17. #17

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    lol, isn't that enough to make you turn opensource Lord Orwell?

  18. #18
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    funny you should say that. Only reason i'm not running Linux now is the install crashes on my motherboard because it doesnt recognize my hard drive controller. As it is, everything from my virtual dvd drive (which i mentioned earlier) to my web browser is either open-source or free. I even have a couple of open-source video game remakes. I am also loosely involved right now in a collaberation to make a super-sudoku program (multiple generators & solvers)
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  19. #19

    Thread Starter
    Banned learning c's Avatar
    Join Date
    Mar 2007
    Location
    canberra (australia's capital)
    Posts
    198

    Re: Hardware viruses

    su what, sounds like chess... didn't you do something valuable, a snake with legs thingy?

    i guess i assumed that there were 65535 physical ports, but i could be outrageously wrong.

    essentially if i were a mainboard maker bend on controlling the world, could i install a backdoor port in the board, that also broadcasts the pc's ip?

  20. #20
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Hardware viruses

    nope those are software ports all connected to whatever device you are using for communications at the time. one physical address (usually an IP but not always). when you communicate tcp-ip, All data communication between two TCP applications takes place through virtual Ports. A port is associated with the network Socket created and used by the application. A pair of sockets uniquely identifies a connection.
    A single computer may receive several tcp packets, with the port number it is for stored inside it. These numbers are used to demultiplex the packet stream and forward the correct packed to the correct application's input buffer.

    The binding of port numbers to appications is handled by the OS, however commonly used network apps are assigned fixed #s that are publicly known.
    That way you know what port # to connect to for web browsing or email., etc.
    ports 1024 - 49141 are Registered Ports. Ports from 49152 through 65535 are usable by anyone. The reason it tops out at 65535 is that's how many addresses you can get from a 16-bit number. I don't forsee any real reason anyone would need THIS many but who can say?
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  21. #21
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Hardware viruses

    Thread Closed due to the new questions being asked and inappropriateness of them.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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