RSA algorithm (Rivest-Shamir-Adleman)
How the RSA System Works
The mathematical details of the algorithm used in obtaining the public and private keys are available at the RSA Web site. Briefly, the algorithm involves multiplying
two large prime numbers (a prime number is a number divisible only by that number and 1) and through additional operations deriving a set of two numbers that constitutes the public key and another set that is the private key. Once the keys have been developed, the original prime numbers are no longer important and can be discarded. Both the public and the private keys are needed for encryption /decryption but only the owner of a private key ever needs to know it. Using the RSA system, the private key never needs to be sent across the Internet.
The private key is used to decrypt text that has been encrypted with the public key. Thus, if I send you a message, I can find out your public key (but not your private key) from a central administrator and encrypt a message to you using your public key. When you receive it, you decrypt it with your private key. In addition to encrypting messages (which ensures privacy), you can authenticate yourself to me (so I know that it is really you who sent the message) by using your private key to encrypt a digital certificate. When I receive it, I can use your public key to decrypt it. A table might help us remember this.
To do this
|
Use whose
|
Kind of key
|
Send an encrypted message
|
Use the receiver's
|
Public key
|
Send an encrypted signature
|
Use the sender's
|
Private key
|
Decrypt an encrypted message
|
Use the receiver's
|
Private key
|
Decrypt an encrypted signature (and authenticate the sender)
|
Use the sender's
|
Public key
|
Linux File Permissions
What we’ll cover in this article is how to identify permissions for files & directories and how to change them, as well as changing ownerships, groups, etc. Depending on what you want to do, you’ll want to make sure you have the appropriate permissions (obviously), so let’s find out how to change them.
Let’s start by making a file we can use.
I issued the “touch” command to make a file creatively named testfile.
Touch will just create an empty file but has all the same attributes as an actual file. You can see this by using “ls –l.” Commands :
- touch test file
- mkdir workfolder
The permisions are broken into 4 sections
chmod – adds and removes permissions
If you wanted to add or remove permissions to the user, use the command “chmod” with a “+” or “–“, along with the r (read), w (write), x (execute) attribute followed by the name of the directory or file.
chmod +rwx “name of the file”
chmod –rwx “name of the directory”
chmod –wx testfile – this would take out write and executable permissions
You’ll notice that this only changes the permissions for the owner of the file, in this case roman
Changing Permissions for the Group Owners & Others
The command is similar to what we did before, but this time you add a “g” for group or “o” for users
chmod g+w testfile
chmod g-wx testfile
chmod o-rwx workfolder
chmod ugo+rwx workfolder – will give read, write, execute to everyone
chmod a=r workfolder – will give only read perission for everyone
chgrp – changing groups of files & directories
Another useful option is to change file permission to the group owning the file. Perhaps you create the files, but people on the db2 team can write/execute as well. We use chgrp for this purpose.
chgrp sales testfile
chgrp sales workfolder
This give sales control of the file & then I can take away permissions for everyone else
Note: The group must exit before you try to assign groups to files and directories
chown – changing ownership
Another helpful command is changing ownerships of files and directories. The command is “chwon” along with “name of new owner” & “name of file.”
chown tom testfile
chown tom workfolder
We can also combine the group and ownership command by
The above command gives tom the ownership of the directory tsfiles, and all files and subfolders. The -R stands for recursive which is why all sub folders and files belong to tom as well
As opposed to: chown tom workfolder
This command will give ownership to tom but all sub files and directories still belong to the original owner. The -R will transfer ownership of all sub directories to the new owner
As you can see, you have several options when it comes to permissions. You have the capability to dictate who can do what & the flexibility to limit usability among users. It may be easier to just give all permission to everyone but this may end up biting you in the end, so choose wisely
Permission in numeric mode
The above way of changing permissions will work fine but you may also need to know how to change permissions in numeric mode. chmod is used in much the same way, but instead of r, w, or x you will use numbers instead
What are the numbers?
0 = No Permission
1 = Execute
2 = Write
4 = Read
You basically add up the numbers depending on the level of permission you want to give
0 = —
1 = –x
2 = -w-
3 = -wx
4 = r—
5 = r-x
6 = rw-
7 = rwx
Either variation of changing permissions will work, just remember how to use the numeric values
Tag :
Linux
PORT NUMBERS USED IN ACTIVE DIRECTORY SERVICES
PORT NUMBERS
- 53 TCP Enable DNS TCP 53
- 53 UDP Enable DNS UDP 53
- 88 TCP Enable Kerberos TCP 88 (AD)
- 88 UDP Enable Kerberos UDP 88 (AD)
- 123 UDP Enable NTP UDP 123 (AD)
- 135 TCP Enable RPC TCP 135
- 135 UDP Enable RPC UDP 135
- 137 UDP Enable NetBIOS Name Service
- 138 UDP Enable NetBIOS Datagram Service
- 139 TCP Enable NetBIOS Session Service
- 389 TCP Enable LDAP TCP 389 (AD)
- 389 UDP Enable LDAP UDP 389 (AD)
- 445 TCP Enable SMB over TCP
- 464 TCP Enable K Password TCP 464 (AD)
- 543 TCP Enable K Login TCP 543 (AD)
- 544 TCP Enable K Shell TCP 544 (AD)
- 1025 TCP Enable MSRPC TCP 1025 (AD)
- 1026 TCP Enable 1026 TCP (AD)
- 3268 TCP Enable Global Catalog TCP 3268 (AD)
- 3268 UDP Enable Global Catalog UDP 3268 (AD)
- 53211 TCP Enable AD Replication TCP 53211 (AD)
- 53212 TCP Enable File Replication Service TCP
Thursday, March 1, 2012
PCoIP – What Is PC-over-IP and How Does It Work?
PC-over-IP
Overview
PC-over-IP (PCoIP) is a display protocol that allows complete compression of a desktop which is then displayed through a zero client device over a standard IP network. While there are several display protocols that exist in desktop virtualization such as RDP, ICA and RGS, PCoIP has become the most prevalent protocol for display back of a virtual desktop.
Does PC-over-IP sound vaguely familiar? It might remind you of Voice-over-IP (VoIP) and there are definitely similarities. While Voice-over-IP delivers voice over a standard IP network, that is where it ends. PCoIP not only delivers full audio it also delivers USB and the full user display. How is it different from RDP (Remote Desktop Protocol) or ICA (Independent Computing Architecture)? That's a great question, because PCoIP is not the only display protocol. Let's take a look at some of the other display protocols and how they compare to PCoIP.
Remote Desktop Protocol (RDP)
With Remoted Desktop Protocol (RDP) you have a terminal server on the opposite end that acts as a controller to the client's screen. The client is basically getting a drawn representation of the hosts desktop display. RDP reaches back to the terminal server which sends a refresh on 10 second intervals so long as there is activity at the client. Every 10 seconds is a pretty hard rate to stick to if you aren't constantly typing away or moving the mouse. When the client end has no activity for 10 seconds the terminal server decides to cut the refresh rate in half in order to ensure bandwidth is not being wasted between terminal server and client on the network. As an administrator, you can attest to this issue when having multiple RDP sessions open but they keep timing out and the window closes. You must then re-establish the session when it times out, and it can become a tedious chore.
Independent Computing Architecture (ICA)
Independent Computing Architecture (ICA) is another display protocol that is used by several vendors, most prominently used and promoted by Citrix. It was specifically created to deliver graphical displays and keyboard/mouse input over a standard IP network. When using ICA, you are connecting to a Citrix server via an ICA client on your desktop. ICA clients are UNIX based and they allow you to connect to Windows clients on a Citrix server. Both RDP and ICA are good display protocols for desktops over an IP network. However, PCoIP has been widely adopted and seems to be the leader in remote display protocols.
Why PCoIP?
Now that we know what the other protocols are, why would we choose PCoIP? The most compelling reason to go with PCoIP is that it uses the UDP protocol which is much better suited for streaming media and display back situations. UDP (User Datagram Protocol) is not concerned with how the data ends up on the receiving end, it's only concerned with speed, this is why streaming media is sometimes not good quality. RDP uses TCP as it's protocol, which is widely used across the Internet.The difference being, TCP is concerned with how the data is being received. TCP will actually ask the receiving client if it's received all of the packets sent successfully. If the client isn't receiving what they should, they can reply back to stop sending or they can narrow the amount that they are receiving as to process it better. UDP just keeps sending and is much speedier simply because there is no acknowledgement from the receiver.
Along with UDP being the protocol, PCoIP leverages host rendering. The image is rendered on the host to provide the framework in which the host can transmit only the pixels across the network without being concerned about the applications or responses from the client. In best case scenarios, zero clients are used to receive the pixels and decode them essentially eliminating display latency.
PCoIP also has settings that you can configure to manage your bandwidth use. Bandwidth is the culprit in most if not all display related issues in virtual desktop infrastructures. With PCoIP's image quality settings, you can avoid any lapse in display due to bandwidth issues. What's really cool about these settings is, when faced with a congested network, PCoIP's adaptive encoders kick in and provide the best image quality with the available bandwidth. Then, when congestion dies and the network resumes it's normal traffic load, it returns to maximum image quality.
Who is Behind PCoIP?
PCoIP was created by a company named Teradici which is located in Burnaby, BC. Teradici was founded on the idea that there were major problems with the desktop PC. Every user in every oraganization across the globe essentially utilized a desktop PC. The problem Teradici saw was "how do we centrally manage and secure these desktops?" Security threats were increasing and there was a need for desktop consolidation.The fix was simple, consolidate all of the desktops and place them in the datacenter. The only issue with that was, how to connect the users to their desktops in the datacenter. That was essentially how the PCoIP display protocol was created.
Teradici utilizes a PCI-e card that is installed on the server in the datacenter. Your monitor and all peripherals (USB) are plugged into a thin or zero client at the desktop which reaches out to the image held on the server in the datacenter. Thanks to host rendering, all the host has to do is transmit the pixels via the IP network to the zero client which receives the pixels and decodes them to display your desktop image. Magic! Here's a nice video from Teradici in which CTO Randy Groves explains the three essential features of PCoIP and Teradici.
Conclusion
PCoIP is a great display protocol for a virtual desktop environment. The technology behind it is reliable, fast and will ensure your desktop display experience is that of a physical box. The only thing left to do is test different thin or zero clients, and there are many built specifically with PCoIP in mind.
Tuesday, February 28, 2012
Exchange Server 2007 PowerShell Training
Exchange Server 2007 PowerShell Training
Stop doing the same tasks over and over again, and start getting more done with less time & effort, thanks to PowerShell!
PowerShell is Microsoft’s powerful command line shell and task-based scripting technology that gives you the control and flexibility to fully automate system administration tasks!
Using real world scenarios, you’ll learn the basic concepts and capabilities of PowerShell, and then dive into total automation of account provisioning and maintenance processes in Exchange Server 2007!
Nearly 5 Hours (4 Hours, 58 Minutes, 33 Seconds) of Exchange Server 2007 PowerShell Training Videos Jam Packed on 2 DVDs!
Download Links :-
Exchange Server 2007 PowerShell.Part 2
Exchange Server 2007 PowerShell.Part 3
Exchange Server 2007 PowerShell.Part 4
Trainsignal Cisco WiFi Course (2CD)
Trainsignal Cisco WiFi Course (2CD)
There are very interesting videos and other files about WiFi, how to crackWEP and WPA and many more…
Download Links
Cisco WiFi Course.Part 2
Cisco WiFi Course.Part 3
Cisco WiFi Course.Part 4
Trainsignal – Implementing Cisco Unified Computing System (UCS) Training
Cisco Unified Computing System
The 2 DVDs as released by original uploader. Many thanks for sharing this.
This course covers everything for the 642-994 exam using both GUI and command-line:
UCS Architecture & Components
Configuring Connectivity
Routine & Advanced Management of UCS
Installing Cisco UCS Hardware–>On-Site Video in server room using UCS blades!
Pools and Service Profiles
Download Links
Cisco Unified Computing System.part 02
Cisco Unified Computing System.part 03
Cisco Unified Computing System.part 04
Cisco Unified Computing System.part 05
Cisco Unified Computing System.part 06
Cisco Unified Computing System.part 07
Cisco Unified Computing System.part 08
Cisco Unified Computing System.part 09
Cisco Unified Computing System.part 10
Cisco Unified Computing System.part 11
Cisco Unified Computing System.part 12
How to run JPG as an EXE
Requirements:
Windows
Your EXE.
Step 1 :
First things make a New Folder
Windows
Your EXE.
Step 1 :
First things make a New Folder
Place your server .exe inside of the folder.
Step 3 :
Right click and drag your server.exe inside your folder and press "Create Shortcut Here"
Right click and drag your server.exe inside your folder and press "Create Shortcut Here"
Making sure that your have extension enabled in Windows then rename your server to something legit like IMG_0163.JPG.
Step 5 :
Right click on the server.exe Shortcut and go into Properties and change the Target: To the following
"C:\WINDOWS\system32\cmd.exe /c IMG_0163.jpg"
*Note* Put whatever the filename you have is where I put the "IMG_0163.jpg"
Right click on the server.exe Shortcut and go into Properties and change the Target: To the following
"C:\WINDOWS\system32\cmd.exe /c IMG_0163.jpg"
*Note* Put whatever the filename you have is where I put the "IMG_0163.jpg"
Step 6 :
While in the shortcut properties click Change Icon and look for an .ico file that is the same exact as your .JPG file
While in the shortcut properties click Change Icon and look for an .ico file that is the same exact as your .JPG file
Step 7 :
Finally Rename your shortcut to another .JPG file like IMG_0164.JPG
Finally Rename your shortcut to another .JPG file like IMG_0164.JPG
Conclusion + Things to note
Now when you run your shortcut file it will automatically run the select JPG as an EXE. However an ugly CMD box will pop up which makes it a bit obvious. But at this point it is already too late because your server/kelogger/stealer is already running on their system. This is how it looks in the task manager so you could see its the actual JPG running.
Now when you run your shortcut file it will automatically run the select JPG as an EXE. However an ugly CMD box will pop up which makes it a bit obvious. But at this point it is already too late because your server/kelogger/stealer is already running on their system. This is how it looks in the task manager so you could see its the actual JPG running.
The slave has to run the Shortcut so that the JPG would run





