Website Hosting for Just 20 ForumCoin ~ Advertise on ForumCoin
52 Life Tips Banner
Get paid up to 150 ForumCoin to submit your article.

Viruses from Websites!! Protect yourself.

Postby Sam » 20 Oct 2017, 23:13

This article was inspired by: @chekdn topic.

JavaScript.

The reason why your device can become infected just by visiting a website is JavaScript. JavaScript is still, primarily, used as a coding language in the browser. When you request a webpage you usually get an HTML file, a CSS file and a JavaScript file. The HTML describes the structure of the page. Think of it as the paragraphs, titles and sentences in an article. The CSS describes the how the page looks. Think of it as the font styles, the page styles etc. And- the JavaScript describes how you can interact with the page, it makes pages dynamic.

An example of JavaScript in Action:
Google suggestions...
Image

JavaScript is often used to show and hide parts of a web page when users interact with it and to request information from the server without having to reload the whole page.



The devil in JavaScript.

The issue is that JavaScript executes without any user interaction. This is considered fine because in most cases, the JavaScript is confined to the browser. This means it should only execute while you are visiting the page from which it was downloaded from. Obviously if you are running an infected page, malicious JavaScript could steal your cookies or form data.

The problem arises when there are browser or software exploits which allow JavaScript files to be downloaded and executed outside of the browser OR if users accept to download malicious code. Hackers accomplish this by using exploit kits which look for vulnerabilities in your computer. If executed outside the browser (which it does by default) in Windows Script Host, JavaScript behaves like any normal programming language. It has access to everything on the device.




What if I disabled JavaScript?


You could! And you can even enable it for trustworthy sites. The issue is that it will definitely make your browsing experience less fun.

Image


What if I simply stopped visiting sites that "seemed dodgy"?


That's a fair strategy and will undoubtedly reduce your risk. However, attackers can sometimes inject JavaScript into a popular webpage in what's known as a XSS (Cross Site Scripting) attack. Perhaps they inject javascript by writing it into the comments section of a blog or it could be much less noticeable e.g. by injecting a hidden html iframe which loads another site.




What should I do to protect myself?

Keeping this simple... You can protect yourself (for the most part) by:

1. Ensuring you have an up-to-date anti virus installed.
2. Ensuring you have an up-to-date Firewall installed.
3. Making sure your browser, OS, Java, Flash etc. plugins are all up-to-date.
4. Be smart. Don't click and open suspicious email files or links. Don't visit dodgy websites.
5. Changing how JavaScript files are opened:
Find a JavaScript file.
Image

or create one in notepad and save with the code:
Code: Select all
WSH.Echo("Hello World");


Image

Now right click, select open with and then choose another app. Select any text editor like Notepad... and remember to select to ALWAYS use this app to open .js files.

Image




Stay safe!
  • 3

User avatar
Sam
 
Posts: 2,079
Location: New Zealand
Referrals: 16
ForumCoin: 229

Re: Viruses from Websites!! Protect yourself.

Postby chekdn » 21 Oct 2017, 10:35

Wow, Sam! This article is simply educative, I like how you broke it down for proper understanding and the needed solution. You know, this has been troubling me for sometime now, but here I have learned something new and helpful.

Thank you!
  • 1

User avatar
chekdn
 
Posts: 1,159
ForumCoin: 406

Re: Viruses from Websites!! Protect yourself.

Postby KloeRinz » 21 Oct 2017, 13:08

Thank you, Sam. I found this article quite enlightening. I will apply what I learned here to protect myself from viruses.
  • 0

KloeRinz
 
Posts: 424
ForumCoin: 46

Re: Viruses from Websites!! Protect yourself.

Postby ahmedo24 » 21 Oct 2017, 13:54

This is great and well detailed information from Mr Sam, I never such things like this exists though I once experienced this few years back when I tried downloading an image, it did download but crash my system immediately, I had to format it.
  • 0

ahmedo24
 
Posts: 14,554
Referrals: 52
ForumCoin: 3

Re: Viruses from Websites!! Protect yourself.

Postby chekdn » 22 Oct 2017, 19:04

ahmedo24 wrote:This is great and well detailed information from Mr Sam, I never such things like this exists though I once experienced this few years back when I tried downloading an image, it did download but crash my system immediately, I had to format it.

That was bad. This makes it more easier to see every reason why it is good to be security cautious regarding our pc/phones when using them online. We have a lot of negative people online who are hell bent, and they can go a distance just to achieve their goal.
  • 0

User avatar
chekdn
 
Posts: 1,159
ForumCoin: 406

Re: Viruses from Websites!! Protect yourself.

Postby anish4111996 » 24 Oct 2017, 21:37

dont open any vulgor sites as bcoz much of that viruses are there in that sites.Always use antiviruse .
  • 0

anish4111996
Banned
 
Posts: 22
ForumCoin: 18

Re: Viruses from Websites!! Protect yourself.

Postby akash9804 » 27 Oct 2017, 00:25

use adblocker and antivirus bcoz some of the ads contains viruses which slow down our system.
  • 0

akash9804
Banned
 
Posts: 19
ForumCoin: 12

Re: Viruses from Websites!! Protect yourself.

Postby ladyninja » 15 Nov 2017, 06:03

I guess the bottomline here is; do not click on any link from an unknown source. Avoid visiting and downloading from questionable sites and ensure you have a good antivirus program running on your system.
  • 0

User avatar
ladyninja
 
Posts: 2,024
Location: South Africa
ForumCoin: 190

Re: Viruses from Websites!! Protect yourself.

Postby Little Mage » 25 Nov 2017, 01:57

Yes Javascript is how they get a lot of people. Especially if you use windows. It's kind of scary to think about but it is true. Better to disable javascripts when visiting lo ts of websites.. <3 <3 <3 <3 :D
  • 0

User avatar
Little Mage
Banned
 
Posts: 1,051
Location: Candy Land
ForumCoin: 544

Re: Viruses from Websites!! Protect yourself.

Postby averygirl72 » 27 Nov 2017, 03:43

I downloaded a software from earningmoney.network. It says you will be paid for keeping their software running in the background. Then I found they are super slow in earning I uninstall the program. My antivirus show I have Trojan virus with earningmoney attach to the virus so I now it comes from them. What will this Trojan virus can do to my computer?
  • 0

User avatar
averygirl72
 
Posts: 858
Location: Philippines
Referrals: 2
ForumCoin: 507

Re: Viruses from Websites!! Protect yourself.

Postby thisnthat » 29 Nov 2017, 20:21

averygirl72 wrote:I downloaded a software from earningmoney.network. It says you will be paid for keeping their software running in the background. Then I found they are super slow in earning I uninstall the program. My antivirus show I have Trojan virus with earningmoney attach to the virus so I now it comes from them. What will this Trojan virus can do to my computer?


It depends on what you are infected with. Trojans generally gather info and send it to the person/entity that infected you (to put it simply).

You might want to try downloading a free malware or antivirus or both to see if you can get rid of it. I'd try Kaspersky.

-- 29 Nov 2017, 20:21 --

Good article, Sam!
  • 0

User avatar
thisnthat
 
Posts: 5,538
Referrals: 1
ForumCoin: 383

Re: Viruses from Websites!! Protect yourself.

Postby kat82 » 30 Nov 2017, 16:52

Very wonderful! Until today, I didn't know about this option to changing the way js files are opened. I have been relying in the antivirus which has browser extension. Thanks to you for sharing about this. I will try it right away and start enjoying the benefits associated! Bravo
  • 0

User avatar
kat82
 
Posts: 4,311
Location: Kampala, Uganda
Referrals: 70
ForumCoin: 952



Your Ad Here.

Return to Articles & Tutorials



Who is online

Users browsing this forum: Claude [Bot] and 1 guest

Reputation System ©'