2 Reports on Cybercrime

EC3 (European Cybercrime Centre at Europol) has published a good report on the cybercrime, worth to take a look. The other report by McAfee complements with estimations of the costs.

Definitions

TechTarget: Cybercrime is a term for any illegal activity that uses a computer as its primary means of commission.

IT Law Wiki: Cybercrime is criminal activities that specifically target a computer or network for damage or infiltration and also refers to the use of computers as tools to conduct criminal activity

Oxford: Criminal activities carried out by means of computers or the Internet.

ISO 27032: criminal activity where services or applications in the Cyberspace are used for or are the target of a crime, or
where the Cyberspace is the source, tool, target, or place of a crime.

the Cyberspace: complex environment resulting from the interaction of people, software and services on the Internet by means
of technology devices and networks connected to it, which does not exist in any physical form.

iOCTA (Internet Organised Crime Threat Assessment )

Selected extracts from the report (2014 pdf):

The Crime-as-a-Service (CaaS) business model drives the digital underground economy by providing a wide range of commercial services that facilitate almost any type of cybercrime.
The anonymisation techniques used in parts of the Internet, known as Darknets, allow users to communicate freely without the risk of being traced.

Cybercrime-iocta01

Social engineering related confidence tricks (scams)

Cybercrime-iocta02

Global Cost of Cybercrime

Selected extracts from “Net Losses: Estimating the Global Cost of Cybercrime

Comparing cost of cybercrime with other costs.

Activity

Cost As % of GDP

Maritime Piracy

0.02% (global)

Transnational Crime

1.2% (global)

Counterfeiting/Piracy

0.89% (global)

Pilferage

1.5% (US)

Car Crashes

1.0% (US)

Narcotics

0.9% (global)

Cybercrime

0.8% (global)

Showing estiamated cost for some countries.

Cybercrime-mcafee

Other Links

Cybercrime-US-state

Posted in Security, Security Management, Security Training, Awareness and Reports | Comments Off on 2 Reports on Cybercrime

Raspberry Pi camera and telescope, first tests

I got B+ model of the Raspberry Pi as christmas gift. Then I saw the size of the camera module, and I just had to go and buy one. I have been testing different webcam and digital camera setups with my telescope, and this camera module seemed very promising.

My goal is simple: take a photo on what you see through the eyepiece.

It is using Afocal photography, where the camera is mounted over the eyepiece of an optical telescope, with the camera lens taking the place of the human eye.

RPI-camera-2inch-eyepiece

Unfortunately the wheather has not been suitable for taking sky photos, so I did first quick tests through a window (there might be some artifacts in the photos).

The picture below shows the camera support on top of the 1.25″ eyepiece. Only the power and LAN cables are connected to the Raspberry Pi.

RPI-camera-Zoom-meade

Camera details

From Rpi Camera Module

  • Sensor type: OmniVision OV5647Color CMOS QSXGA (5-megapixel)
  • Up to 90 fps Video at VGA
  • applications:
    • RaspiVid
      • creates H264 videos
    • RaspiStill
      • can create PNG and raw images
    • Pi Vision
      • a GUI based controller
    • picamera
      • a Python library

From Raspberry Pi Camera Module – Part 1

  • with link to camera’s data sheet
  • Dimensions: 25mm x 20mm x 9mm
  • Weight: 3g
  • Sensor size: 3.67 x 2.74 mm
  • Pixel count: 2592 x 1944
  • Lens: f=3.6 mm, f/2.9
  • Angle of View: 54 x 41 degrees

From Camera module manual page, raspicam commands

  • raspistill
    • Capturing still photographs with the camera module
  • raspivid
    • Capturing video with the camera module
  • Time-lapse
    • Taking pictures at regular intervals and stitching them together in to a video
  • raspiyuv
    • Capturing still photographs and generating raw unprocessed image files

Setting Up

Create a bootable image on microSD. I used raspbian (Debian Linux) from downloads page. The instructions as also on that same page. Instructions for windows are here.

Connect keyboard, mouse, LAN cable, and HDMI->VGA converter before connecting the power cable.

Raspberry PI basics

Login: Use userid pi and password raspberry

To turn the power off, use command sudo poweroff

Raspberry PI tuning

One of the most important file is /boot/config.txt. The HDMI settings are defined there, so it is the first place to modify in order to get the display working. (Unless you have a monitor with HDMI.) The parameters are explained here. I used a HDMI-to-VGA converter as shown in the picture below. The same power source (max 2A) is used to provide power to Raspberry Pi and the converter. The photo also shows the 1.25″ zoom eyepiece modified to fit the camera. The camera is visible on the left, under the proof-of-concept mechanical support for the 2″ eyepiece.

RPI-camera-Zoom-VGA-power

In order to get the VGA monitor to work, I defined the following lines

hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=16

In order to turn off the camera light, add the line disable_camera_led=1

One need to activate the camera and ssh access by using command sudo raspi-config

After modifications, one need to reboot by command sudo reboot

Using Desktop GUI with Raspberry PI

One can use command startx if having a monitor connected to HDMI and you are using RPI locally.

One can use command lxsession if connecting over the network. I used Xming (with one window) and putty (ssh with XForwarding) on Windows. (DISPLAY and Xauth is taken care by putty). Alternative command openbox-session worked also.

H264 videos can be converted with VLC. One can use WinSCP for transferring the picture and video files to Windows.

Testing with Pi-Camera GUI tool

One can follow example instructions here.

sudo apt-get install python3-setuptools

sudo easy_install3 picamera

Download python3 and Tk based GUI tool CamInterfacev1p0p0.py, and run it with command python3 CamInterfacev1p0p0.py

I used this tool over the network to find a suitable camera position, and to mimimize vignetting.

RPiCameradistances

Testing with PiVision GUI tool

One can find the instructions for download and usage here. Please note that there is no need to install FPC or Lazarus.

One can also use the command chmod u+x rpiCC to change the extracted file into executable.

The XMing screenshot below shows lxsession look and feel when operating over the network. The taskmanager shows high CPU often, and reminds that the CPU is much weaker than in desktops…

PiVision-screenshot-raspberry

This tool is great and provides more options than the simple picamera example GUI. In addition it also shows the actual command line with parameters. I used this tool in order to see the parameters used, and then I moved to the command line versions since it provides more control.

Testing with command line

raspistill -n -br 50 -t 500 -o /home/pi/cmd45.png -e png -w 2592 -h 1944 -v
raspistill -n -t 500 -o /home/pi/zoomA4-21-90.png -e png -w 2592 -h 1944 -v -ss 10000 -br 50 -awb off -ISO 100
raspivid -t 4000 -o /home/pi/kuvat/video3.h264 -w 1920 -h 1080 -fps 5 -v -br 50

Open Issue

The both pictures below shows a horizontal stripe around Y=430. I do not know if the stripe is related to specific parameters (like resolution) used to capture photo, or if they are related to power supply or electric shielding or any other issue. This is something to investigate in the future…

zoomA12-7-5 zoomA20-7-5

Summary

The camera looks very promising. The first test shows good capabilities. My impression is that the pictures represent the view that I see when I look through the eyepiece. There is a lot of tuning left, but that’s part of the game. I still need to improve the mechanical parts and manual focussing too 🙂

For the next attempt to take sky photos I will use the preview mode to find the right position for the camera. Unless if I find a good way to stream the video to another laptop, since I might need another laptop to find the “targets” with Stellarium.

I see a lot of potential usages for small devices like Raspberry Pi. There has been interesting examples in the internet, things to test & try…

Other Links

Another case where RPI camera has been used with telescope.

Another case where RPI is used to remote control the telescope. And another.

Problems to get Stellarium working on RPI.

Posted in Anvanced Tools, Audio and Video, For Fun or Interest, Gadgets, Hobbies and Other Interests, Innovation and new tech, Raspberry Pi, Robotics, Tests | Comments Off on Raspberry Pi camera and telescope, first tests

Bandwidth Manager, tool for limiting bandwidth on a computer at home

SoftPerfect Bandwidth Manager is good basic tool for sharing the internet connection by limiting the bandwidth on different computers.

In the example below (Lite edition), download bandwidth limit is set to 20Mb/s and upload limit is 2Mb/s. (For some reason the bidirectional rule did not give the correct results, and that’s why 2 different rules are used and active). In this tool one can set limits per destination or origin.

Bandwidthmanager01

The Lite edition is free, please check the license conditions.

Advanced Alternatives

Please note that the overall bandwidth limitation can also be done with NetBalancer. NetBalancer can limit the bandwidth per process, and can also show the bandwidth usage per process. The Unregistered version is meant for “home use only”. It was with the help of NetBalancer that I was finally able to identify that my latency peak problems were related to firefox.

Posted in Basic Tools, Recommended Free Tools, Tools | Comments Off on Bandwidth Manager, tool for limiting bandwidth on a computer at home

Balabolka and Microsoft Speech Platform, way for multilanguage TTS (text-to-speech)

Most of the TTS tools on MS Windows support SAPI 5 (SAPI=Microsoft Speech API).

In a previous blog, eSpeak and TTSReader were introduced as an alternatives for non-english languages. The good news is that the free tool called Balabolka also supports the usage of the ‘newish’ Speech Platform. The Microsoft Speech Platform contains 26 languages!

I’m positively surprised with the voice quality, it is much better than my earlier attempts with eSpeak. The get an idea without any installation, one could try the Speak button in the Bing translator , since the same voices are used there.

I was using the portable version of Balabolka, and the picture below shows the book chapter that I was listening.

balapolka2

Downloads

  1. portable version from Balabolka
  2. Microsoft Speech Platform Runtime v11.0
    • to use with Balabolka, one need to install the 32bit (x86) version also on 64bit machine
  3. Redistributable Language Packs v11.0
    • choose the languges that you want

Advanced usage, programming example

Posted in Basic Tools, For Fun or Interest, Gadgets, Hobbies and Other Interests, Recommended Free Tools, Tips, Tools | Comments Off on Balabolka and Microsoft Speech Platform, way for multilanguage TTS (text-to-speech)

PingInfoView, tool for monitoring network latency (ping)

There are several free tools for monitoring availability of multiple computers. However, it is surprisingly difficult to find a tool with the source code available. (For other needs, please look the discussion forums of your preferred programming language, there are several code examples available)

One good portable alternative is PingInfoView (not open source).

Positive:

  • simple GUI, easy to use
  • can ping multiple hosts
  • can extract results
  • portable

Minus:

  • some people might like to have a graph

Pinginfoview

In the figure above, gateway, dns server etc. are selected in order to identify from where the problems arises. In my case, one computer seem to have latency peaks already in the home network, ie. the problem is not related to ISP. Other tools are needed to investigate further the problem within home network. (Update: After this tool I used a bandwidth manager to limit the traffic, but the problem persisted. Finally I used NetBalancer and then I found out that similar problems has been reported in relation with firefox.)

Posted in Anvanced Tools, Recommended Free Tools, Tips, Tools, Troubleshooting | Comments Off on PingInfoView, tool for monitoring network latency (ping)

Guidelines for “Assessing Cyber Security Export Risks”, by TechUK

TechUK has published document “Assessing Cyber Security Export Risks“, which is great effort addressing the business ethics aspects. Institute for Human Rights and Business (IHRB) has been involved as well.

The coverage is good, content is straight to the point, and the document is 36 pages only, well done.

  • Chapter 1: Aims and objectives
  • Chapter 2: why are human rights relevant to my company?
  • Chapter 3: How can my company assess and address human rights risks?
  • Chapter 4: National security risks
  • Further resources
    • with good links

TechUK

Links

Posted in Business Ethics, ICT Leadership and Management, ICT Regulation, Privacy | Comments Off on Guidelines for “Assessing Cyber Security Export Risks”, by TechUK

Annual Global Security Report, by Trustwave

Trustwave is maintaining the annual report on their Global Security Report page.

The content of the 2014 report is well presented and structured, and easy to read (without heavy and long sentences). Definitely worth to look. One example page is below.

Trustwave-2014

Posted in Security, Security Incidents and Cases, Security News, Security Training, Awareness and Reports | Comments Off on Annual Global Security Report, by Trustwave