586,589 active members*
2,436 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Haas Machines > Haas Mills > Possibilties of Virus from Windows to Haas control
Results 1 to 20 of 20
  1. #1
    fattybean Guest

    Possibilties of Virus from Windows to Haas control

    Is it possible to upload a virus from my laptop - which has had internet access and MAY have been exposed to a virus- to our Haas controls(VF0 and VF2)?

    I would assume it would be like a human getting Dutch Elm Disease. Aren't viruses that a Windows PC gets made to attack Windows operating systems and would not be compatible with a CNC control.

    My boss will only allow uploads from a PC that has never been connected to another PC or the internet, so for any new programs I make on my laptop I have to punch them in manually at the machine. This is a big, time consuming pain in thee A.

    I am very computer literate, I have built several PCs and am pretty sure I would know if there is a virus on any of my computers. I am however not an expert on computer viruses so I am not 100% sure a Windows based virus couldn't transfer I wouldn't want to risk very expensive machines.

    This has never been an issue at the 4 other shops I have worked, the CAD/CAM PCs have all had internet access, I have never heard of such a thing, it sounds ridiculous.

  2. #2
    Join Date
    Jan 2005
    Posts
    15362
    Hi fattybean

    If you don't have good virus protection on your laptop that would be a no no to down load from it your machine control is dos so it can get a virus just like any computer & it does not have virus protection in the control your Boss is right
    Mactec54

  3. #3
    Don't know what operating system Haas uses, probably very rudimentary, however if it is not Windows based probably no problem.
    Most viruses are written to disrupt the operation of a computer and to do so utilize some weakness in its operating system.
    Someone would have to write code specific to the Haas, put it out on the net, somehow get you to download it and hope it would be transferred to a machine.

    Since most nuisance viruses are written by pimply faced 14 yr olds looking to finally be noticed they want to do as much damage as possible with the least effort. Ergo, write your virus for Windoze. This is one reason why apple is more virus free. The chances of a virus being written to attack the Haas, while within the realm of possibility is about as likely as you going to the door and meeting Ed Mcmahon with his million dollar check.
    I used to be appalled, now I'm just amused.

  4. #4
    Join Date
    Jan 2005
    Posts
    15362
    Hi Kimfab

    Totallty incorrect Haas & most CNC controls run a Dos based system its just as easy to be infected as your computer at home/ work by the transfer of programs if the computor is not protected with a good updated virus software it should not be used for any CNC machine controls if it does not have updated virus protection

    The controls don't usually get the virus but they will become corrupted & have to have a software reload or sometimes a new computer board installed
    Mactec54

  5. #5
    Join Date
    Sep 2006
    Posts
    48
    Older Haas controls are dos. New controls are Linux based.


    Should be safe.


    Loose Nut

  6. #6
    Join Date
    May 2007
    Posts
    767
    Quote Originally Posted by fattybean View Post
    Is it possible to upload a virus from my laptop - which has had internet access and MAY have been exposed to a virus- to our Haas controls(VF0 and VF2)? ------------------------My boss will only allow uploads from a PC that has never been connected to another PC or the internet, so for any new programs I make on my laptop I have to punch them in manually at the machine. This is a big, time consuming pain in thee A. ---.
    Hi fattybean

    Sorry but your Boss is well upto speed on this one. There are several ways a virus can attack a microprocessor based system. Even if you can be absolutely confident that there is no operating system virus lurking on your internet connected computer there are viruses that attack the BIOS. In simple terms this means that no microprocessor sytem is imune from attack and the type of operating system is only the means of delivery and confers no immunity regardless be it Windows - Linux - Unix or Apple's OS. Yes the majority of viruses are propogated via Windows but there are others.

    Suggest you have a quiet read of the following link or have a Google for "BIOS Virus" before pasting yourself into a corner with your employer.

    http://www.tomshardware.com/news/bio...door,7400.html

    Added as a post script:-

    In my opinion all CNC machines should have their BIOS locked - preferably by having the BIOS reside in a PROM that cannot be rewritten or at the very least have the BIOS reload capability removed. Some Motherboards have a link that can be made / removed for BIOS flash and some have a protected mode where the settings cannot be changed. But please note there are other attack mechanisms which make the use of a 'sandbox' (a set up that can be used to trial software prior to loading onto the final production machine) to catch any unwanted behavior.

    With the cost of a 'special non networked no internet laptop being so small compared to the potential to damage an expensive machine I don't understand why you are using an internet or network connected machine.

    Sorry that the above is probably not what you wanted to hear but if disaster strikes what is the recovery cost and is there a plan in place to ensure buisness can continue. This side of the pond this is call buisness continuity planning and would have some strict rules that would cover this problem and many others.

    Take care.

    Regards

    Pat

  7. #7
    Join Date
    Jan 2005
    Posts
    15362
    [QUOTE=Loose Nut;650231]Older Haas controls are dos. New controls are Linux based.


    Should be safe.


    This is incorrect Haas only have Dos base system they do not have Linux
    Mactec54

  8. #8
    Quote Originally Posted by mactec54 View Post
    Hi Kimfab

    Totallty incorrect Haas & most CNC controls run a Dos based system its just as easy to be infected as your computer at home/ work by the transfer of programs if the computor is not protected with a good updated virus software it should not be used for any CNC machine controls if it does not have updated virus protection

    The controls don't usually get the virus but they will become corrupted & have to have a software reload or sometimes a new computer board installed

    Really? Sorry, as I said I didn't know what operating system it used. I would have thought they wouldn't have wasted memory space by using dos as its operating system but I guess it was easier and faster to develop the machine with an existing system.
    I used to be appalled, now I'm just amused.

  9. #9
    Join Date
    Sep 2005
    Posts
    28
    "Possibilties of Virus from Windows to Haas control "

    Exactly 0.

    Maybe really OLD machines used some form of ms dos but I know that my 07 tl1 does not. It doesn't use Linux either. Just because it can read a floppy or a win formatted usb drive doesn't mean that it uses dos, it just means that they implemented fat-16 in order to read these devices(they probably pay a license to use it).

    The haas controls use Motorola-freescale coldfire processors. The controls are 100% embedded machines. They don't use x86 (common pc) processors. Virus's written and compiled for pc's will not have any luck on these controllers. They are totally different. They don't share any of the instructions, memory addresses or windows code to be infected.

    These machines don't have a bios like a pc does. I am sure there is a bios like implementation but again it is like apples and oranges, or like apples and pc's. There are no cross apple / pc viruses and they share the same x86 hardware. So the chance of a haas picking up a pc virus are 0.

    I don't know what tool chain haas uses for it's embedded rtos (real time operating system), there are only a couple of good ones, if I had to take a guess it would have to be VxWorks from wind river systems.

    Could some one custom build a virus for a haas machine? maybe. They would have to have a copy of VxWorks, find an exploit in Vx's fat-16 be really damn familiar with the coldfire, and know every address and memory location in every variant of haas control. In other words it would have to come out of haas itself as a malicious act.

    So no your boss if full of hot air unless you have a old machine that actually uses some variant of ms dos, I can't say for sure but I would be really suprised if haas EVER did that. People use embedded systems for speed, security, and to keep things like this from happening in a system that is supposed to have high uptime. They can only make this happen if they can control every aspect of hardware and software. You can't do this with a pc.


    Chad

    p.s. haas apps correct me if I am wrong.

  10. #10
    Join Date
    Jan 2005
    Posts
    15362
    Hi Chad

    My be you should of talked to Haas Tec before you vented here all of there software for there controls is Dos based Which they have perfected for there controls There software engineers have done what no one else has been able to do with this software

    Yes they do have protection in place when something hits the control from downloading, It will go into an ALARM

    Sometimes this can be cleared (by a call to Tec-support) without a software reload & sometimes if the software reload does not work you will need to replace the main mother board which can get/be corrupted
    Mactec54

  11. #11
    Join Date
    Nov 2003
    Posts
    236
    All,
    I really did not want to get involved in this as I did not want to go into details about the Haas kernal. The answer to the question is no the Haas control can not get a PC virus. The control is a closed system.

    http://www.haascnc.com/MAIN_HaasControl.asp#haascontrol

  12. #12
    Join Date
    May 2007
    Posts
    767
    Quote Originally Posted by wildwestpat View Post
    Hi fattybean

    ........................
    In my opinion all CNC machines should have their BIOS locked - preferably by having the BIOS reside in a PROM that cannot be rewritten or at the very least have the BIOS reload capability removed. Some Motherboards have a link that can be made / removed for BIOS flash and some have a protected mode where the settings cannot be changed. ....................
    Pat
    Good to know that the Hass Control designers are up to the bench mark and that vital low level programme interpreters are protected by suitable 'hardening'. However if the unthinkable happens the conseququential action of the boss needs to be a factor as logical thinking has a habit of going missing when the blame game kicks off.

    Glad to see this resolved as there are lessons for other machine builders who have not been dilligent about protecting their products operating code.

    Regards

    Pat

  13. #13
    Join Date
    Sep 2005
    Posts
    28
    Quote Originally Posted by mactec54 View Post
    Hi Chad

    My be you should of talked to Haas Tec before you vented here
    What is good for the goose... After your last post I did call haas and spent 30min talking with a high level haas person about this because I didn't want to spread misinformation. The bottom line is my post is accurate and hit very close to the target.

    Quote Originally Posted by mactec54 View Post
    This is incorrect Haas only have Dos base system they do not have Linux
    While true they are not Linux based they are NOT Dos based either. Your assumption is incorrect.

    Quote Originally Posted by mactec54 View Post
    Hi Kimfab

    Totallty incorrect Haas & most CNC controls run a Dos based system its just as easy to be infected as your computer at home/ work by the transfer of programs if the computor is not protected with a good updated virus software it should not be used for any CNC machine controls if it does not have updated virus protection

    The controls don't usually get the virus but they will become corrupted & have to have a software reload or sometimes a new computer board installed
    Also incorrect. If a corrupt text file can crash the controller then haas needs to work on the error handling routine, this is programing 101 stuff. Bugs happen but the code guys at haas are not inept they plan ahead for people doing things that they shouldn't.

    I really am not trying to get into a internet pissing contest. I just happen to be intimately familiar with code development like this and I don't want to see misinformation or FUD spread for no reason. This poor guy has to hand type in all of his programs that he writes, for no valid reason.
    If his boss says no, then he is the boss and that is the law. I can respect that, however I can also say (as confirmed by haas apps) that it is a baseless assertion on his part devoid of any risk to the haas machine from a pc virus.

    chad

  14. #14
    Join Date
    Jan 2005
    Posts
    15362
    Hi Chad

    You need again to talk to Haas Tec that has to change the mother boards when this happens & when you were talking to them did you ask how many mother boards that they have to replace because they have become corupted & did they tell you the hard drive option it has another operating system all in the same control there is 2 separate computers connected together I surpose that you new about that as well & I'm sure they told you the the main Operating system is Dos based also

    Everthing you said in you post was not correct in anyway the only one puting out misinformation was you & I did not say
    the control could get a PC Virus But it can be corupted when it goes into an alarm & pressing reset will not fix it

    I'm very well aware of the work that Haas has done to make the control as foolproof as possible so people like yourself don't mess it up & we have to come & fix them up
    Mactec54

  15. #15
    Join Date
    Jan 2006
    Posts
    2985
    One possible solution to please your boss:

    If you use a serial connection between two computers you could transfer data between a "dirty" computer and the one "clean" computer without risk of transferring a virus. Using hyperterminal or something similar, you could send entire files over the serial port (or USB to serial bridge).

    Matt

  16. #16
    Join Date
    Mar 2009
    Posts
    48
    I guess I'll jump in...
    First, just so we are all on the same page we need to understand what a computer virus is. According to Wikipedia it is:
    "A computer virus is a computer program that can copy itself and infect a computer without the permission or knowledge of the owner. A true virus can only spread from one computer to another (in some form of executable code) when its host is taken to the target computer; for instance because a user sent it over a network or the Internet, or carried it on a removable medium such as a floppy disk, CD, DVD, or USB drive."

    The key here being executable code. Has anyone ever been able to load any executable code into the Haas control? - NO THEY HAVE NOT. The only code that any use can load into battery backed up ram is text. A text file can not be executed - period. So a computer virus can not infect a Haas control.

    Now on to the operating system on the Haas control. Many years back when Haas was looking at operating systems they did not want to spend an arm and a leg so anything from Microsoft was out. They did license a form of DOS from a company that I will not name but those of you that go that far back can DOCTOR up what you might think it was. Haas took this source code and modified it for their use on the first Haas control. Since then it has become a combination of multiple OS's taking different pieces from them to perform specific tasks. Has anyone tried to put a 40 gig hard drive on any DOS PC - IT WONT WORK!

    I hope this puts this to bed once and for all, but I am sure it will just stir the pot further.

  17. #17
    Join Date
    Jan 2005
    Posts
    15362
    Hi Xenomorph

    No not stiring the pot

    The 40G hard drive has its own computer to run it & operating system it is nothing to do with the main mother board system which is a closed system it is only connected to the mother board
    Mactec54

  18. #18
    Join Date
    Mar 2003
    Posts
    4826
    I can see the potential for a virus on a PC wreaking some havoc and maybe doing something like erasing some stored programs on any attached drives, including, I suppose, ethernet accessible drives. But that is not the same as the virus copying itself to make a viable working copy of itself in another operating system.

    The closest thing I can imagine on the Haas, would be somehow writing a macro that could take advantage of some loophole in the Haas OS. We'd probably call this a bug, and it likely would corrupt memory in the current session (and require a reboot) or maybe it could force a bad memory write, resulting in a system corruption equivalent to bad hardware, I suppose.

    But, you'd have to go and actually run the macro to make this 'virus' run, so its not quite the way we envision PC viruses, being sneaky and being maintained in a running thread in the OS background. And such a macro would have to be extremely customized for Haas. It is a long stretch to imagine a PC virus being adaptable enough to make it past all the hurdles.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  19. #19
    Join Date
    Jan 2007
    Posts
    203
    A smart routine could do some damage but in my opinion highly unlikely.
    Bottom line is this. All computers have the potential to crash.
    I have been creating Software for some time and am speaking from experience.
    All comments made are my opinion!

  20. #20
    Join Date
    Apr 2006
    Posts
    235
    The Hd/ENet option on my 06' VF2 is Linux based, but others have mentioned, it's just the HD/Enet OS and not the CNC Control OS. However, I remember seeing a image of a newer 15" LCD screens with dll error codes, does that mean Haas is using some sort of MS CE/Embedded solution for at least the fancier graphic portion of the display and maybe for the newer HD/ENet?

Similar Threads

  1. New Haas control help please
    By hercules in forum Haas Lathes
    Replies: 5
    Last Post: 07-28-2009, 04:52 PM
  2. cnc control software for windows xp
    By Ralph Burge in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 6
    Last Post: 05-29-2008, 01:21 AM
  3. Windows XP or Windows 2000 better with Mach2
    By Beezer in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 10-18-2004, 04:08 PM

Posting Permissions

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