Finely chop crab meat, onion, and green onion.
Add cooking oil to a pan and sauté the onion and green onion.
Add the crab meat and stir-fry together.
Add rice and stir-fry while mixing all the ingredients.
Season with soy sauce and salt.
Finish by sprinkling pepper to taste.