to own, buy, carry, or otherwise possess a firearm.
§ 18.2-308.2:01. Possession or transportation of certain firearms by certain persons.
It shall be unlawful for any person who is not a citizen of the United States or who is not a person lawfully admitted for permanent residence to knowingly and intentionally possess or transport any assault firearm or to knowingly and intentionally carry about his person, hidden from common observation, an assault firearm. It shall be unlawful for any person who is not a citizen of the United States and who is not lawfully present in the United States to knowingly and intentionally possess or transport any firearm or to knowingly and intentionally carry about his person, hidden from common observation, any firearm. A violation of this section shall be punishable as a Class 6 felony.
For purposes of this section, "assault firearm" means any semi-automatic center-fire rifle or pistol that expels single or multiple projectiles by action of an explosion of a combustible material and is equipped at the time of the offense with a magazine which will hold more than 20 rounds of ammunition or designed by the manufacturer to accommodate a silencer or equipped with a folding stock.
http://leg1.state.va.us/cgi-bin/legp504.exe?000+cod+18.2-308.2C01It would also be a violation of Federal Law
(g) It shall be unlawful for any person -
(1) who has been convicted in any court of, a crime punishable
by imprisonment for a term exceeding one year;
(2) who is a fugitive from justice;
(3) who is an unlawful user of or addicted to any controlled
substance (as defined in section 102 of the Controlled Substances
Act (21 U.S.C. 802));
(4) who has been adjudicated as a mental defective or who has
been committed to a mental institution;
(5) who, being an alien -
(A) is illegally or unlawfully in the United States; or
(B) except as provided in subsection (y)(2), has been
admitted to the United States under a nonimmigrant visa (as
that term is defined in section 101(a)(26) of the Immigration
and Nationality Act (8 U.S.C. 1101(a)(26)));
(6) who has been discharged from the Armed Forces under
dishonorable conditions;
(7) who, having been a citizen of the United States, has
renounced his citizenship;
(8) who is subject to a court order that -
(A) was issued after a hearing of which such person received
actual notice, and at which such person had an opportunity to
participate;
(B) restrains such person from harassing, stalking, or
threatening an intimate partner of such person or child of such
intimate partner or person, or engaging in other conduct that
would place an intimate partner in reasonable fear of bodily
injury to the partner or child; and
(C)(i) includes a finding that such person represents a
credible threat to the physical safety of such intimate partner
or child; or
(ii) by its terms explicitly prohibits the use, attempted
use, or threatened use of physical force against such intimate
partner or child that would reasonably be expected to cause
bodily injury; or
(9) who has been convicted in any court of a misdemeanor crime
of domestic violence,
to ship or transport in interstate or foreign commerce, or possess
in or affecting commerce, any firearm or ammunition; or to receive
any firearm or ammunition which has been shipped or transported in
interstate or foreign commerce.
http://www4.law.cornell.edu/uscode/html/uscode18/usc_sec_18_00000922----000-.html